Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PATCH] Wrong return value corrupts free object in e1000 driver
For some reason, E1000's ->hard_start_xmit() routine returns -EFAULT instead of one of the NETDEV_TX_* error codes. In fact, it frees up the SKB before returning this. This makes the queueing layer think the packet should be requeued and subsequently we corrupt a freed object. Signed-off-by: David S. Miller <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
- Loading branch information