netfilter: rpfilter/fib: clean up some inconsistent indenting
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Fri, 4 Nov 2022 03:55:04 +0000 (11:55 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 15 Nov 2022 09:53:18 +0000 (10:53 +0100)
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 <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/nft_fib_ipv4.c

index fc65d69f23e16784a9a4913618e57d53dcca0203..9eee535c64dd4808358ba3d5177bcab43c414823 100644 (file)
@@ -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;
        }