Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp178824rwl; Thu, 3 Nov 2022 21:52:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7FxUW7ZIbBgN+8JJPDSZkBIPEzdbEOSyMTau6HGz3DBOK4/zBlTj5Eok/nrd/kV4V/1T0H X-Received: by 2002:a63:8a42:0:b0:46f:5804:8d9e with SMTP id y63-20020a638a42000000b0046f58048d9emr29345389pgd.214.1667537578838; Thu, 03 Nov 2022 21:52:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667537578; cv=none; d=google.com; s=arc-20160816; b=Qw/1/GnR9PYrSKFEFwrSx936LStyi3mi0o2sB89vjU+KSCDmJT4UKlofrsSA68JyE3 S+rd3sHaooeeSHFkr4iZDBi5kOwJZGqw6g0F+uEZJzQ6lBsTKDoMBTNJ8H84gSQ1WD42 tmNrHp4H2BQzlkvrxd5iBdzuMkG1t9OKhemVpwk8N/rwucHYFYsKd3KSucOj+12QywbH itxqV2hDVePgwU3lDy0VF2MINmRi6yBGTefESowD0kxhBk7MZkK7qNtGihFmC5ja/xiT AYSaOppQmb4BDb7wK2tb892HnflVdka6BbPUBRYZ+6f6EAtseE/nWz4+hoKQZ9rK+lSj 8N2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=z7zI24eghRdDtj9w+pEBkjCANHdzEEsEQkNO9QheL+s=; b=w6jkWEVX0O4OLL+7GqDQS9Rha/cb5LupJYHxGbpFiEq++jLoBP+kE/uEhBDuarjIGj im5IJnuwuNf2VQTuuB0u94BpJ8D4+L26pq0hLmGP2C4q3JFVa541KsCvbu01HJVyav81 Lj6edqlwIQk3N3vjYc4V4PdL02vTZLiySCGBM1E3uETlp5m7zh2MPEne3RuYF4yVD7ve fUCQ3G5skUbMmepxx05mUu4wzPBLxV7lTtU1BeRogLUGWLemq4xB3Gbas2Eg3R4KnzRi N/gJMYd7SI055MS6IPvBQPYaDZcpc6jLMMiT6b0hb/ghu2W5rf0GyOvtxBJS6LaztSTz +Fmg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j63-20020a62c542000000b0053e1d872a91si3227990pfg.83.2022.11.03.21.52.45; Thu, 03 Nov 2022 21:52:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229485AbiKDDzw (ORCPT + 95 others); Thu, 3 Nov 2022 23:55:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229523AbiKDDzq (ORCPT ); Thu, 3 Nov 2022 23:55:46 -0400 Received: from out30-54.freemail.mail.aliyun.com (out30-54.freemail.mail.aliyun.com [115.124.30.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D874E1CFCF; Thu, 3 Nov 2022 20:55:44 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R521e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046059;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=15;SR=0;TI=SMTPD_---0VTvE7XQ_1667534137; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VTvE7XQ_1667534137) by smtp.aliyun-inc.com; Fri, 04 Nov 2022 11:55:41 +0800 From: Jiapeng Chong To: pablo@netfilter.org Cc: kadlec@netfilter.org, fw@strlen.de, davem@davemloft.net, yoshfuji@linux-ipv6.org, dsahern@kernel.org, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] netfilter: rpfilter/fib: clean up some inconsistent indenting Date: Fri, 4 Nov 2022 11:55:04 +0800 Message-Id: <20221104035504.14957-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org No functional modification involved. net/ipv4/netfilter/nft_fib_ipv4.c:141 nft_fib4_eval() warn: inconsistent indenting. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2733 Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- net/ipv4/netfilter/nft_fib_ipv4.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/net/ipv4/netfilter/nft_fib_ipv4.c b/net/ipv4/netfilter/nft_fib_ipv4.c index fc65d69f23e1..9eee535c64dd 100644 --- a/net/ipv4/netfilter/nft_fib_ipv4.c +++ b/net/ipv4/netfilter/nft_fib_ipv4.c @@ -138,12 +138,11 @@ void nft_fib4_eval(const struct nft_expr *expr, struct nft_regs *regs, break; } - if (!oif) { - found = FIB_RES_DEV(res); + if (!oif) { + found = FIB_RES_DEV(res); } else { if (!fib_info_nh_uses_dev(res.fi, oif)) return; - found = oif; } -- 2.20.1.7.g153144c