Skip to content

Commit

Permalink
netfilter: bridge: clean up some inconsistent indenting
Browse files Browse the repository at this point in the history
Eliminate the follow smatch warning:

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

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
Signed-off-by: Florian Westphal <[email protected]>
  • Loading branch information
Jiapeng Chong authored and Florian Westphal committed Mar 7, 2022
1 parent 1918ace commit 334ff12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/bridge/netfilter/nf_conntrack_bridge.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 334ff12

Please sign in to comment.