diff options
author | Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> | 2009-02-07 07:46:51 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-07 07:46:51 (GMT) |
commit | 69ebbf58f3dff9fb4e5240e472b5869fa869dae1 (patch) | |
tree | 9c7fd47a42581615b5e70290c0f76fedd8e459c4 /net/ipv4/ipmr.c | |
parent | 12207e498b9b8f9f0c946db079ad17c7ca16cdf3 (diff) | |
download | linux-69ebbf58f3dff9fb4e5240e472b5869fa869dae1.tar.xz |
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>
Diffstat (limited to 'net/ipv4/ipmr.c')
-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 21a6dc7..13e9dd30 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 |