[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190110130618.25344-1-yuehaibing@huawei.com>
Date: Thu, 10 Jan 2019 21:06:18 +0800
From: YueHaibing <yuehaibing@...wei.com>
To: <pablo@...filter.org>, <kadlec@...ckhole.kfki.hu>, <fw@...len.de>,
<davem@...emloft.net>
CC: <linux-kernel@...r.kernel.org>, <netdev@...r.kernel.org>,
<netfilter-devel@...r.kernel.org>, <coreteam@...filter.org>,
YueHaibing <yuehaibing@...wei.com>
Subject: [PATCH] netfilter: nat: Update comment of get_unique_tuple
Replace outdated __ip_conntrack_confirm in comment.
Signed-off-by: YueHaibing <yuehaibing@...wei.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 d159e9e..f54a8db 100644
--- a/net/netfilter/nf_nat_core.c
+++ b/net/netfilter/nf_nat_core.c
@@ -460,7 +460,8 @@ static void nf_nat_l4proto_unique_tuple(struct nf_conntrack_tuple *tuple,
* 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.7.0
Powered by blists - more mailing lists