netfilter: update comment about get_unique_tuple()

Message ID
State Under Review
Delegated to: Pablo Neira
Headers show
  • netfilter: update comment about get_unique_tuple()
Related show

Commit Message

Xiaozhou Liu Nov. 29, 2018, 3:29 a.m.
`__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 <>
 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,