]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
e1000e: Do not allow requeue of freed skb
authorKrishna Kumar <krkumar2@in.ibm.com>
Fri, 21 Sep 2007 16:41:15 +0000 (09:41 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:53:46 +0000 (16:53 -0700)
commit7b5dfe1aa9faf9fab10960e027a7b1c932580f76
treec8924e42dd18b16aa1b61010ba3022c4a95f8622
parent7a1f8104c4a477feaf8b4405429119276341a27e
e1000e: Do not allow requeue of freed skb

Returning BUSY will make qdisc_restart enqueue the skb which was already
freed. The bad skb was correctly freed and we should return NETDEV_TX_OK.

First spotted by Jeff Garzik on 08/13/07.

Signed-off-by: Krishna Kumar <krkumar2@in.ibm.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/e1000e/netdev.c