ip_gre: clean up some inconsistent indenting
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Fri, 2 Jun 2023 05:59:25 +0000 (13:59 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Jun 2023 09:44:46 +0000 (10:44 +0100)
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>
net/ipv4/ip_gre.c

index e55a202649608f6f3c814e143581d631ce0467e6..81a1cce1a7d110849e02eba6207d994ca01cfbf1 100644 (file)
@@ -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 ||