Skip to content

Commit

Permalink
ip_gre: clean up some inconsistent indenting
Browse files Browse the repository at this point in the history
No functional modification involved.

net/ipv4/ip_gre.c:192 ipgre_err() warn: inconsistent indenting.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5375
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Jiapeng Chong authored and David S. Miller committed Jun 2, 2023
1 parent 23fcb62 commit a92fb5c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions net/ipv4/ip_gre.c
Original file line number Diff line number Diff line change
@@ -189,10 +189,10 @@ static int ipgre_err(struct sk_buff *skb, u32 info,
}

#if IS_ENABLED(CONFIG_IPV6)
if (tpi->proto == htons(ETH_P_IPV6) &&
!ip6_err_gen_icmpv6_unreach(skb, iph->ihl * 4 + tpi->hdr_len,
type, data_len))
return 0;
if (tpi->proto == htons(ETH_P_IPV6) &&
!ip6_err_gen_icmpv6_unreach(skb, iph->ihl * 4 + tpi->hdr_len,
type, data_len))
return 0;
#endif

if (t->parms.iph.daddr == 0 ||

0 comments on commit a92fb5c

Please sign in to comment.