Skip to content
Commit 9e927fb6 authored by David S. Miller's avatar David S. Miller Committed by Jeff Garzik
Browse files

[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: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 5ee33b7a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment