From: Ilpo Järvinen Date: Sat, 7 Feb 2009 07:46:51 +0000 (-0800) Subject: ipmr: use goto to common label instead of opencoding X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=69ebbf58f3dff9fb4e5240e472b5869fa869dae1;p=linux-2.6-omap-h63xx.git ipmr: use goto to common label instead of opencoding Signed-off-by: Ilpo Järvinen Signed-off-by: David S. Miller --- diff --git a/net/ipv4/ipmr.c b/net/ipv4/ipmr.c index 21a6dc710f2..13e9dd3012b 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