| To: | "David S. Miller" <davem@xxxxxxxxxx> |
|---|---|
| Subject: | [PATCH] IRDA: fix skb leak in irda_connect_indication |
| From: | Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxx> |
| Date: | Sat, 1 Nov 2003 04:11:24 -0200 |
| Cc: | Jean Tourrilhes <jt@xxxxxxxxxx>, Linux Networking Development Mailing List <netdev@xxxxxxxxxxx> |
| Organization: | Conectiva S.A. |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.4i |
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 04:07:41 2003
@@ -248,8 +248,10 @@
IRDA_DEBUG(2, "%s(%p)\n", __FUNCTION__, self);
sk = self->sk;
- if (sk == NULL)
+ if (sk == NULL) {
+ kfree_skb(skb);
return;
+ }
/* How much header space do we need to reserve */
self->max_header_size = max_header_size;
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] fix skb leak in af_irda.c, Arnaldo Carvalho de Melo |
|---|---|
| Next by Date: | [PATCH] LLC: fix procfs reading when there are saps without sockets, Arnaldo Carvalho de Melo |
| Previous by Thread: | [PATCH] fix skb leak in af_irda.c, Arnaldo Carvalho de Melo |
| Next by Thread: | [PATCH] LLC: fix procfs reading when there are saps without sockets, Arnaldo Carvalho de Melo |
| Indexes: | [Date] [Thread] [Top] [All Lists] |