lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A49C9BC.6050908@sphairon.com>
Date:	Tue, 30 Jun 2009 10:15:56 +0200
From:	Frank Seidel <Frank.Seidel@...airon.com>
To:	Willy Tarreau <w@....eu>
CC:	"Seidel, Frank" <Frank.Seidel@...airon.com>,
	"linux-mips@...ux-mips.org" <linux-mips@...ux-mips.org>,
	"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: [PATCH] linux-2.4: br2684: fix double freeing skb

Author: Peter Sieber <siep@...airon.com>

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

Signed-off-by: Peter Sieber <siep@...airon.com>
Signed-off-by: Frank Seidel <Frank.Seidel@...airon.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)) {
 		/*
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ