commit | 69ebbf58f3dff9fb4e5240e472b5869fa869dae1 | [log] [tgz] |
---|---|---|
author | Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> | Fri Feb 06 23:46:51 2009 -0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Feb 06 23:46:51 2009 -0800 |
tree | 9c7fd47a42581615b5e70290c0f76fedd8e459c4 | |
parent | 12207e498b9b8f9f0c946db079ad17c7ca16cdf3 [diff] [blame] |
ipmr: 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/ipv4/ipmr.c b/net/ipv4/ipmr.c index 21a6dc7..13e9dd3 100644 --- a/net/ipv4/ipmr.c +++ b/net/ipv4/ipmr.c
@@ -1243,8 +1243,7 @@ vif->dev->stats.tx_bytes += skb->len; vif->dev->stats.tx_packets++; ipmr_cache_report(net, skb, vifi, IGMPMSG_WHOLEPKT); - kfree_skb(skb); - return; + goto out_free; } #endif