be2net: fix a race in be_xmit()
authorEric Dumazet <edumazet@google.com>
Thu, 7 Jun 2012 22:59:59 +0000 (22:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Jun 2012 21:44:19 +0000 (14:44 -0700)
As soon as hardware is notified of a transmit, we no longer can assume
skb can be dereferenced, as TX completion might have freed the packet.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found