diff options
author | Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> | 2009-02-06 23:46:51 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-06 23:46:51 -0800 |
commit | 69ebbf58f3dff9fb4e5240e472b5869fa869dae1 (patch) | |
tree | 9c7fd47a42581615b5e70290c0f76fedd8e459c4 | |
parent | 12207e498b9b8f9f0c946db079ad17c7ca16cdf3 (diff) | |
download | linux-69ebbf58f3dff9fb4e5240e472b5869fa869dae1.tar.bz2 |
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>
-rw-r--r-- | net/ipv4/ipmr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/ipmr.c b/net/ipv4/ipmr.c index 21a6dc710f20..13e9dd3012b3 100644 --- a/net/ipv4/ipmr.c +++ b/net/ipv4/ipmr.c @@ -1243,8 +1243,7 @@ static void ipmr_queue_xmit(struct sk_buff *skb, struct mfc_cache *c, int vifi) 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 |