From patchwork Thu Dec 13 18:27:28 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florent Fourcot X-Patchwork-Id: 206205 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id E20922C008D for ; Fri, 14 Dec 2012 05:39:07 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756301Ab2LMSjE (ORCPT ); Thu, 13 Dec 2012 13:39:04 -0500 Received: from fourcot.fr ([217.70.191.14]:40199 "EHLO olfflo.fourcot.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756058Ab2LMSjD (ORCPT ); Thu, 13 Dec 2012 13:39:03 -0500 X-Greylist: delayed 666 seconds by postgrey-1.27 at vger.kernel.org; Thu, 13 Dec 2012 13:39:03 EST Received: from reglisse.fourcot.fr (unknown [IPv6:2001:660:7301:3728:5e26:aff:fe0c:2f25]) (Authenticated sender: reglisse) by olfflo.fourcot.fr (Postfix) with ESMTPSA id 843512DF1B; Thu, 13 Dec 2012 19:27:54 +0100 (CET) Received: by reglisse.fourcot.fr (Postfix, from userid 1000) id 46E68969; Thu, 13 Dec 2012 19:27:54 +0100 (CET) From: Florent Fourcot To: pablo@netfilter.org, yoshfuji@linux-ipv6.org Cc: netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, Florent Fourcot Subject: [PATCH] Fix comment for packets without data Date: Thu, 13 Dec 2012 19:27:28 +0100 Message-Id: <1355423248-12448-1-git-send-email-florent.fourcot@enst-bretagne.fr> X-Mailer: git-send-email 1.7.10.4 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org The double negation is probably a typo error Signed-off-by: Florent Fourcot --- net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c b/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c index 00ee17c..d9efe32 100644 --- a/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c +++ b/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c @@ -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) mean that the packet doesn't have no data + * (protoff == skb->len) mean that the packet does not have any data * except of IPv6 & ext headers. but it's tracked anyway. - YK */ if (protoff < 0 || (frag_off & htons(~0x7)) != 0) {