commit | 8da73b73ef29d537ba09f29393cd68707833e746 | [log] [tgz] |
---|---|---|
author | Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> | Sun Dec 14 23:15:49 2008 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Dec 14 23:15:49 2008 -0800 |
tree | b4281dcf12f6033774b81c05b24296922eeada28 | |
parent | 448eb71f40120a8fd11ebd58153c271c63e6f862 [diff] |
ip6mr: use goto to common label instead of opencoding Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/ipv6/ip6mr.c b/net/ipv6/ip6mr.c index 9eed242..3c51b2d 100644 --- a/net/ipv6/ip6mr.c +++ b/net/ipv6/ip6mr.c
@@ -1501,8 +1501,7 @@ vif->dev->stats.tx_bytes += skb->len; vif->dev->stats.tx_packets++; ip6mr_cache_report(net, skb, vifi, MRT6MSG_WHOLEPKT); - kfree_skb(skb); - return 0; + goto out_free; } #endif