[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20181129032905.1148062-1-liuxiaozhou@bytedance.com>
Date: Thu, 29 Nov 2018 11:29:05 +0800
From: Xiaozhou Liu <liuxiaozhou@...edance.com>
To: pablo@...filter.org, coreteam@...filter.org,
netdev@...r.kernel.org, netfilter-devel@...r.kernel.org
Cc: Xiaozhou Liu <liuxiaozhou@...edance.com>
Subject: [PATCH] netfilter: update comment about get_unique_tuple()
`__ip_conntrack_confirm' in the comment is a bit confusing since
it has long been replaced with __nf_conntrack_confirm in the code.
Just update the comment.
Signed-off-by: Xiaozhou Liu <liuxiaozhou@...edance.com>
---
net/netfilter/nf_nat_core.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/net/netfilter/nf_nat_core.c b/net/netfilter/nf_nat_core.c
index e2b196054dfc..527d125964d1 100644
--- a/net/netfilter/nf_nat_core.c
+++ b/net/netfilter/nf_nat_core.c
@@ -315,7 +315,8 @@ find_best_ips_proto(const struct nf_conntrack_zone *zone,
* and NF_INET_LOCAL_OUT, we change the destination to map into the
* range. It might not be possible to get a unique tuple, but we try.
* At worst (or if we race), we will end up with a final duplicate in
- * __ip_conntrack_confirm and drop the packet. */
+ * __nf_conntrack_confirm and drop the packet.
+ */
static void
get_unique_tuple(struct nf_conntrack_tuple *tuple,
const struct nf_conntrack_tuple *orig_tuple,
--
2.11.0
Powered by blists - more mailing lists