aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/ipmr.c
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2009-02-06 23:46:51 -0800
committerDavid S. Miller <davem@davemloft.net>2009-02-06 23:46:51 -0800
commit69ebbf58f3dff9fb4e5240e472b5869fa869dae1 (patch)
tree9c7fd47a42581615b5e70290c0f76fedd8e459c4 /net/ipv4/ipmr.c
parentixgbe: Defeature Tx Head writeback (diff)
downloadlinux-dev-69ebbf58f3dff9fb4e5240e472b5869fa869dae1.tar.xz
linux-dev-69ebbf58f3dff9fb4e5240e472b5869fa869dae1.zip
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.c3
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