Skip to contentSkip to conversation

linux-2.4: br2684: fix double freeing skb

PATCH Applied Frank Seidel 2 participants 2 messages Jun 30, 2009 – Jul 1, 2009

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-2.4: br2684: fix double freeing skb

Author: Peter Sieber <[email protected]>

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

---
 net/atm/br2684.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/atm/br2684.c +1 -1
@@ -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)) {
 		/*