diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-06-19 20:26:15 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-06-20 13:04:12 -0700 |
commit | c82b9d7fe7464aec78210544948564ffe3bb2d2b (patch) | |
tree | 7ee0b05997447d695b92f3890e47709f4f07c87c /net | |
parent | 44da29d26bb8df3b0411ba902f2bc9b973ea38e4 (diff) | |
download | kernel-mfld-blackbay-c82b9d7fe7464aec78210544948564ffe3bb2d2b.tar.gz kernel-mfld-blackbay-c82b9d7fe7464aec78210544948564ffe3bb2d2b.tar.bz2 kernel-mfld-blackbay-c82b9d7fe7464aec78210544948564ffe3bb2d2b.zip |
netxen: fix race in skb->len access
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions