diff options
author | Joe Perches <joe@perches.com> | 2011-07-01 09:43:07 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-01 23:11:16 (GMT) |
commit | 4500ebf8d1cc749e1b438136745127e437c54002 (patch) | |
tree | 9a94dccd7da67ee77cddb43dc0998b50b339f0ac /net/ipv4/route.c | |
parent | 181b1e9ce1b9e705d4cd27b542ce05bc43abdab0 (diff) | |
download | linux-fsl-qoriq-4500ebf8d1cc749e1b438136745127e437c54002.tar.xz |
ipv4: Reduce switch/case indent
Make the case labels the same indent as the switch.
git diff -w shows no difference.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/route.c')
-rw-r--r-- | net/ipv4/route.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index f24c335..a8ccd9b 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -1439,20 +1439,20 @@ static int ip_error(struct sk_buff *skb) int code; switch (rt->dst.error) { - case EINVAL: - default: - goto out; - case EHOSTUNREACH: - code = ICMP_HOST_UNREACH; - break; - case ENETUNREACH: - code = ICMP_NET_UNREACH; - IP_INC_STATS_BH(dev_net(rt->dst.dev), - IPSTATS_MIB_INNOROUTES); - break; - case EACCES: - code = ICMP_PKT_FILTERED; - break; + case EINVAL: + default: + goto out; + case EHOSTUNREACH: + code = ICMP_HOST_UNREACH; + break; + case ENETUNREACH: + code = ICMP_NET_UNREACH; + IP_INC_STATS_BH(dev_net(rt->dst.dev), + IPSTATS_MIB_INNOROUTES); + break; + case EACCES: + code = ICMP_PKT_FILTERED; + break; } if (!rt->peer) |