diff options
author | Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> | 2009-02-07 02:46:51 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-07 02:46:51 -0500 |
commit | 69ebbf58f3dff9fb4e5240e472b5869fa869dae1 (patch) | |
tree | 9c7fd47a42581615b5e70290c0f76fedd8e459c4 /net/ipv4 | |
parent | 12207e498b9b8f9f0c946db079ad17c7ca16cdf3 (diff) |
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')
-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) | |||
1243 | vif->dev->stats.tx_bytes += skb->len; | 1243 | vif->dev->stats.tx_bytes += skb->len; |
1244 | vif->dev->stats.tx_packets++; | 1244 | vif->dev->stats.tx_packets++; |
1245 | ipmr_cache_report(net, skb, vifi, IGMPMSG_WHOLEPKT); | 1245 | ipmr_cache_report(net, skb, vifi, IGMPMSG_WHOLEPKT); |
1246 | kfree_skb(skb); | 1246 | goto out_free; |
1247 | return; | ||
1248 | } | 1247 | } |
1249 | #endif | 1248 | #endif |
1250 | 1249 | ||