netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] ipmr: use goto to common label instead of opencoding
@ 2009-02-07  0:21 Ilpo Järvinen
  2009-02-07  0:21 ` [PATCH 2/4] ax25: more common return path joining Ilpo Järvinen
  2009-02-07  7:49 ` [PATCH 1/4] ipmr: use goto to common label instead of opencoding David Miller
  0 siblings, 2 replies; 9+ messages in thread
From: Ilpo Järvinen @ 2009-02-07  0:21 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, Ilpo J�rvinen

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
---
 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..13e9dd3 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
 
-- 
1.5.6.5


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-02-07  7:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-07  0:21 [PATCH 1/4] ipmr: use goto to common label instead of opencoding Ilpo Järvinen
2009-02-07  0:21 ` [PATCH 2/4] ax25: more common return path joining Ilpo Järvinen
2009-02-07  0:21   ` [PATCH 3/4] ipv6/ndisc: join error paths Ilpo Järvinen
2009-02-07  0:21     ` [PATCH 4/4] ipv6/addrconf: common code located Ilpo Järvinen
2009-02-07  7:49       ` David Miller
2009-02-07  7:49     ` [PATCH 3/4] ipv6/ndisc: join error paths David Miller
2009-02-07  0:28   ` [PATCH 2/4] ax25: more common return path joining Ralf Baechle
2009-02-07  7:49     ` David Miller
2009-02-07  7:49 ` [PATCH 1/4] ipmr: use goto to common label instead of opencoding David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).