From: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
To: "David S. Miller" <davem@redhat.com>
Cc: Jean Tourrilhes <jt@hpl.hp.com>,
Linux Networking Development Mailing List <netdev@oss.sgi.com>
Subject: [PATCH] fix skb leak in af_irda.c
Date: Sat, 1 Nov 2003 03:19:31 -0200 [thread overview]
Message-ID: <20031101051931.GI3705@conectiva.com.br> (raw)
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;
next reply other threads:[~2003-11-01 5:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-01 5:19 Arnaldo Carvalho de Melo [this message]
2003-11-04 22:42 ` [PATCH] fix skb leak in af_irda.c 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031101051931.GI3705@conectiva.com.br \
--to=acme@conectiva.com.br \
--cc=davem@redhat.com \
--cc=jt@hpl.hp.com \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.