https://github.com/torvalds/linux
Revision 658924dc9ae2ca8e3c46f36306f5dbd501cf4688 authored by Eric Dumazet on 19 June 2011, 12:43:33 UTC, committed by David S. Miller on 19 June 2011, 23:28:02 UTC
As soon as skb is given to hardware and spinlock released, TX completion
can free skb under us. Therefore, we should update netdev stats before
spinlock release.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 00ce2d5
History
Tip revision: 658924dc9ae2ca8e3c46f36306f5dbd501cf4688 authored by Eric Dumazet on 19 June 2011, 12:43:33 UTC
hp100: fix an skb->len race
Tip revision: 658924d
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 966 bytes
.mailmap -rw-r--r-- 4.2 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.9 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 189.7 KB
Makefile -rw-r--r-- 52.6 KB
README -rw-r--r-- 17.1 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top