netfilter: bridge: clean up some inconsistent indenting
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Mon, 7 Mar 2022 00:41:49 +0000 (08:41 +0800)
committerFlorian Westphal <fw@strlen.de>
Mon, 7 Mar 2022 11:42:37 +0000 (12:42 +0100)
Eliminate the follow smatch warning:

net/bridge/netfilter/nf_conntrack_bridge.c:385 nf_ct_bridge_confirm()
warn: inconsistent indenting.

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>
net/bridge/netfilter/nf_conntrack_bridge.c

index fdbed315855536d0825981ef4497af6cdf4ce51e..4a79d25c63917138634267c9defbc37361565461 100644 (file)
@@ -380,7 +380,7 @@ static unsigned int nf_ct_bridge_confirm(struct sk_buff *skb)
                protoff = skb_network_offset(skb) + ip_hdrlen(skb);
                break;
        case htons(ETH_P_IPV6): {
-                unsigned char pnum = ipv6_hdr(skb)->nexthdr;
+               unsigned char pnum = ipv6_hdr(skb)->nexthdr;
                __be16 frag_off;
 
                protoff = ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), &pnum,