netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fix skb leak in af_irda.c
@ 2003-11-01  5:19 Arnaldo Carvalho de Melo
  2003-11-04 22:42 ` Jean Tourrilhes
  0 siblings, 1 reply; 5+ messages in thread
From: Arnaldo Carvalho de Melo @ 2003-11-01  5:19 UTC (permalink / raw)
  To: David S. Miller
  Cc: Jean Tourrilhes, Linux Networking Development Mailing List

Hi David, Jean,

	Please apply.

- Arnaldo

===== net/irda/af_irda.c 1.46 vs edited =====
--- 1.46/net/irda/af_irda.c	Sat Aug 30 23:15:30 2003
+++ edited/net/irda/af_irda.c	Sat Nov  1 03:18:02 2003
@@ -187,12 +187,12 @@
 
 	IRDA_DEBUG(2, "%s(%p)\n", __FUNCTION__, self);
 
+	dev_kfree_skb(skb);
+	// Should be ??? skb_queue_tail(&sk->sk_receive_queue, skb);
+
 	sk = self->sk;
 	if (sk == NULL)
 		return;
-
-	dev_kfree_skb(skb);
-	// Should be ??? skb_queue_tail(&sk->sk_receive_queue, skb);
 
 	/* How much header space do we need to reserve */
 	self->max_header_size = max_header_size;

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

end of thread, other threads:[~2003-11-05  0:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-01  5:19 [PATCH] fix skb leak in af_irda.c Arnaldo Carvalho de Melo
2003-11-04 22:42 ` Jean Tourrilhes
2003-11-04 23:30   ` David S. Miller
2003-11-05  0:29     ` Jean Tourrilhes
2003-11-05  0:28       ` David S. 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).