@@ -81,7 +81,7 @@ 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)meanthatthepacketdoesn'thavenodata+*(protoff==skb->len)meanthatthepacketdoesnothaveanydata*exceptofIPv6&extheaders.butit'strackedanyway.-YK*/if(protoff<0||(frag_off&htons(~0x7))!=0){
Might as well take it to completion and have it read "(protoff ==
skb->len) means the packet does not have any data" or "(protoff ==
skb->len) means the packet has no data" Not sure about that next line
with the except. Perhaps "(protoff == skb->len) means the packet has no
data, just IPv6 and extension headers, but it is tracked anyway."
rick jones
@@ -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)meanthatthepacketdoesn'thavenodata-*exceptofIPv6&extheaders.butit'strackedanyway.-YK+*(protoff==skb->len)meansthepackethasnotdata,just+*IPv6andpossiblyextensionsheaders,butitistrackedanyway*/if(protoff<0||(frag_off&htons(~0x7))!=0){pr_debug("ip6_conntrack_core: can't find proto in pkt\n");
@@ -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)meanthatthepacketdoesn'thavenodata-*exceptofIPv6&extheaders.butit'strackedanyway.-YK+*(protoff==skb->len)meansthepackethasnotdata,just+*IPv6andpossiblyextensionsheaders,butitistrackedanyway*/if(protoff<0||(frag_off&htons(~0x7))!=0){pr_debug("ip6_conntrack_core: can't find proto in pkt\n");
@@ -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)meanthatthepacketdoesn'thavenodata-*exceptofIPv6&extheaders.butit'strackedanyway.-YK+*(protoff==skb->len)meansthepackethasnotdata,just+*IPv6andpossiblyextensionsheaders,butitistrackedanyway*/if(protoff<0||(frag_off&htons(~0x7))!=0){pr_debug("ip6_conntrack_core: can't find proto in pkt\n");
Acked-by: Rick Jones <redacted>
Applied, thanks.
That was many discussion for a patch to fix a comment, nice indeed :-)