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] IRDA: fix skb leak in irda_connect_indication
Date: Sat, 1 Nov 2003 04:11:24 -0200 [thread overview]
Message-ID: <20031101061124.GJ3705@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 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;
reply other threads:[~2003-11-01 6:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20031101061124.GJ3705@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 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).