* [PATCH] netfilter: update comment about get_unique_tuple()
@ 2018-11-29 3:29 Xiaozhou Liu
0 siblings, 0 replies; only message in thread
From: Xiaozhou Liu @ 2018-11-29 3:29 UTC (permalink / raw)
To: pablo, coreteam, netdev, netfilter-devel; +Cc: Xiaozhou Liu
`__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@bytedance.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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-11-29 3:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-29 3:29 [PATCH] netfilter: update comment about get_unique_tuple() Xiaozhou Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).