sfc: fix race in efx_enqueue_skb_tso()
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 30 Nov 2011 22:12:27 +0000 (17:12 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Nov 2011 22:12:27 +0000 (17:12 -0500)
commit449fa023bca5b53bd924d91a27ffd34807fdeb80
tree196813959c3c790a8eb2e06281e78fd316930b63
parente98319098885859e34c23cc8a130b6b8668a6abe
sfc: fix race in efx_enqueue_skb_tso()

As soon as skb is pushed to hardware, it can be completed and freed, so
we should not dereference skb anymore.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/tx.c