Patchwork netfilter: nat: Update comment of get_unique_tuple

login
register
mail settings
Submitter YueHaibing
Date Jan. 10, 2019, 1:06 p.m.
Message ID <20190110130618.25344-1-yuehaibing@huawei.com>
Download mbox | patch
Permalink /patch/696595/
State New
Headers show

Comments

YueHaibing - Jan. 10, 2019, 1:06 p.m.
Replace outdated __ip_conntrack_confirm in comment.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 net/netfilter/nf_nat_core.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch

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,