Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp847883pxy; Wed, 5 May 2021 15:44:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/q0L7adU53/9m5m+47TSLeIsV5bTXHXC6k8zrGy1bMg3upqV0yebX1yw8su347Cd8RCEI X-Received: by 2002:a17:906:11d3:: with SMTP id o19mr1014178eja.387.1620254653154; Wed, 05 May 2021 15:44:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620254653; cv=none; d=google.com; s=arc-20160816; b=PjsfKVrskud7DKa5gk3cw09dv8ZOo23F2iAqSDNJ3q7nh3N1dG6Q3N5U082LTd/kPX gOorlQ0RexFH3xhF2K5qtFo7n0j1sHmcCBYuPLt1FYtZ7bBLBWPq+YZpyObmxVIH0Zpv SuuV3HLDRq0xHPuD62wHnnv8a7xN/CiwNorXqs6WmpwHtn/bj1ukef0R3W548Vzuyhw5 /OicY95t97VFmRu1t+B9HpYjwf7be3FPHfIrZd4gLjgyW7nncD5F9mNTf9hWDfocgKrV 4g1SJkoX581uNlN3TcxN55aa2r5U/yPIAjqVJN5ti7ihQjSSc9a1OnZZY4aHzghgpkZq 2Mjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=em1nkzHibFj9Weoy7R+NweOoT1YdGqaI8BJWIEzIMHU=; b=OrcYb1pOyeUR9IIGi+uf4ET1aFlc/IoHQ71/yBgUv3rvMLD1HB+kTZSBtFkNMrto0d QDltTh8ppATlYB2GN8Xa+DTmWjYfgpuoraGy97wMlO6nnYEbC45ggtn5izSKlubYss2u JmbgpIoFu/vm9pRA8BPPBRv1+f1Qf6w/Y12DEDxtotMDjiMuj3M3bHIZOwso5KfAHDRc W+NdwxGTxYIY4ZO353t5x8IKiroUr2E+6KJouN7xprpy4eERMDPCjYgA4d/ytUU8aNRS /gcoSrEEpiypqM71kCTdTd8K+Np/QmUZ9dPGCJHCSSlJl0B3y8pZBsTLBiV1n7xbv/OK kpQg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn3si685825ejc.746.2021.05.05.15.43.49; Wed, 05 May 2021 15:44:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233729AbhEEWmY (ORCPT + 99 others); Wed, 5 May 2021 18:42:24 -0400 Received: from mail.netfilter.org ([217.70.188.207]:45966 "EHLO mail.netfilter.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229602AbhEEWmW (ORCPT ); Wed, 5 May 2021 18:42:22 -0400 Received: from us.es (unknown [90.77.255.23]) by mail.netfilter.org (Postfix) with ESMTPSA id 325EF6412C; Thu, 6 May 2021 00:40:40 +0200 (CEST) Date: Thu, 6 May 2021 00:41:21 +0200 From: Pablo Neira Ayuso To: Pallavi Prabhu Cc: kadlec@netfilter.org, fw@strlen.de, davem@davemloft.net, yoshfuji@linux-ipv6.org, dsahern@kernel.org, kuba@kernel.org, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ipv6: netfilter.c: fix missing line after declaration Message-ID: <20210505224121.GA23510@salvia> References: <20210505192007.GA12080@pallavi> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210505192007.GA12080@pallavi> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Pallavi, On Thu, May 06, 2021 at 12:50:07AM +0530, Pallavi Prabhu wrote: > Fixed a missing line after a declaration for proper coding style. I'd probably suggest to use Coccinelle or similar to make a Netfilter tree wide patch to add line after a declaration. Probably there are more spots in the Netfilter codebase that can benefit from this cleanup. > Signed-off-by: Pallavi Prabhu > --- > net/ipv6/netfilter.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/net/ipv6/netfilter.c b/net/ipv6/netfilter.c > index ab9a279dd6d4..7b1671f48593 100644 > --- a/net/ipv6/netfilter.c > +++ b/net/ipv6/netfilter.c > @@ -81,6 +81,7 @@ static int nf_ip6_reroute(struct sk_buff *skb, > > if (entry->state.hook == NF_INET_LOCAL_OUT) { > const struct ipv6hdr *iph = ipv6_hdr(skb); > + > if (!ipv6_addr_equal(&iph->daddr, &rt_info->daddr) || > !ipv6_addr_equal(&iph->saddr, &rt_info->saddr) || > skb->mark != rt_info->mark) > -- > 2.25.1 >