netxen: fix race in skb->len access
authorEric Dumazet <eric.dumazet@gmail.com>
Sun, 19 Jun 2011 20:26:15 +0000 (20:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jun 2011 20:04:12 +0000 (13:04 -0700)
As soon as skb is given to hardware, TX completion can free skb under
us.
Therefore, we should update dev stats before kicking the device.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found