Commit d7a769ff authored by Florent Fourcot's avatar Florent Fourcot Committed by Pablo Neira Ayuso
Browse files

netfilter: nf_conntrack_ipv6: fix comment for packets without data



Remove ambiguity of double negation.

Signed-off-by: default avatarFlorent Fourcot <florent.fourcot@enst-bretagne.fr>
Acked-by: default avatarRick Jones <rick.jones2@hp.com>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent c65ef8dc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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");