summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorFlorent Fourcot <florent.fourcot@enst-bretagne.fr>2012-12-14 01:53:33 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2012-12-16 23:28:31 +0100
commitd7a769ff0e8f908ae8113fe523e7806b6d0b5fc7 (patch)
tree94b6acf168062dd10cf41b1db8102ca253ed93e2 /net
parentnetfilter: nf_nat: Also handle non-ESTABLISHED routing changes in MASQUERADE (diff)
downloadlinux-d7a769ff0e8f908ae8113fe523e7806b6d0b5fc7.tar.xz
linux-d7a769ff0e8f908ae8113fe523e7806b6d0b5fc7.zip
netfilter: nf_conntrack_ipv6: fix comment for packets without data
Remove ambiguity of double negation. Signed-off-by: Florent Fourcot <florent.fourcot@enst-bretagne.fr> Acked-by: Rick Jones <rick.jones2@hp.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net')
-rw-r--r--net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c b/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c
index 00ee17c3e893..137e245860ab 100644
--- a/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c
+++ b/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c
@@ -81,8 +81,8 @@ static int ipv6_get_l4proto(const struct sk_buff *skb, unsigned int nhoff,
}
protoff = ipv6_skip_exthdr(skb, extoff, &nexthdr, &frag_off);
/*
- * (protoff == skb->len) mean that the packet doesn't have no data
- * except of IPv6 & ext headers. but it's tracked anyway. - YK
+ * (protoff == skb->len) means the packet has not data, just
+ * IPv6 and possibly extensions headers, but it is tracked anyway
*/
if (protoff < 0 || (frag_off & htons(~0x7)) != 0) {
pr_debug("ip6_conntrack_core: can't find proto in pkt\n");