public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Frank Seidel <Frank.Seidel@sphairon•com>
To: Willy Tarreau <w@1wt•eu>
Cc: "Seidel, Frank" <Frank.Seidel@sphairon•com>,
	"linux-mips@linux-mips•org" <linux-mips@linux-mips•org>,
	"netdev@vger•kernel.org" <netdev@vger•kernel.org>
Subject: [PATCH] linux-2.4: br2684: fix double freeing skb
Date: Tue, 30 Jun 2009 10:15:56 +0200	[thread overview]
Message-ID: <4A49C9BC.6050908@sphairon.com> (raw)

Author: Peter Sieber <siep@sphairon•com>

Fix double freeing skb, see net/core/dev.c
dev_queue_xmit().

Signed-off-by: Peter Sieber <siep@sphairon•com>
Signed-off-by: Frank Seidel <Frank.Seidel@sphairon•com>
---
 net/atm/br2684.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/net/atm/br2684.c
+++ b/net/atm/br2684.c
@@ -221,7 +221,7 @@ static int br2684_start_xmit(struct sk_b
 		/* netif_stop_queue(dev); */
 		dev_kfree_skb(skb);
 		read_unlock(&devs_lock);
-		return -EUNATCH;
+		return 0;
 	}
 	if (!br2684_xmit_vcc(skb, brdev, brvcc)) {
 		/*

             reply	other threads:[~2009-06-30  8:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-30  8:15 Frank Seidel [this message]
2009-07-01  6:49 ` [PATCH] linux-2.4: br2684: fix double freeing skb Willy Tarreau

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=4A49C9BC.6050908@sphairon.com \
    --to=frank.seidel@sphairon$(echo .)com \
    --cc=linux-mips@linux-mips$(echo .)org \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=w@1wt$(echo .)eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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