linux-kernel-test/drivers/net/ethernet
david decotigny f9c4082df5 forcedeth: fix race when unloading module
When forcedeth module is unloaded, there exists a path that can lead
to mod_timer() after del_timer_sync(), causing an oops. This patch
short-circuits this unneeded path, which originates in
nv_get_ethtool_stats().

Tested:
  x86_64 16-way + 3 ethtool -S infinite loops + 100Mbps incoming traffic
  + rmmod/modprobe/ifconfig in a loop

Initial-Author: Salman Qazi <sqazi@google.com>
Discussion: http://patchwork.ozlabs.org/patch/123548/

Signed-off-by: David Decotigny <david.decotigny@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-11-07 13:31:24 -05:00
..
3com
8390
adaptec
adi
aeroflex
alteon
amd
apple
atheros
broadcom tg3: Update version to 3.121 2011-11-04 17:31:49 -04:00
brocade
cadence
chelsio
cirrus
cisco
davicom
dec
dlink
emulex be2net: Add detect UE feature for Lancer 2011-11-03 21:59:40 -04:00
faraday
freescale i825xx:xscale:8390:freescale: Fix Kconfig dependancies 2011-11-04 17:41:20 -04:00
fujitsu
hp
i825xx
ibm
icplus
intel ixgbe: Fix compile for kernel without CONFIG_PCI_IOV defined 2011-11-07 13:23:12 -05:00
marvell sky2: fix regression on Yukon Optima 2011-11-04 18:19:43 -04:00
mellanox
micrel
microchip
myricom
natsemi i825xx:xscale:8390:freescale: Fix Kconfig dependancies 2011-11-04 17:41:20 -04:00
neterion
nuvoton
nvidia forcedeth: fix race when unloading module 2011-11-07 13:31:24 -05:00
octeon
oki-semi
packetengines
pasemi
qlogic
racal
rdc
realtek
renesas
seeq
sfc
sgi
silan
sis
smsc
stmicro
sun
tehuti
ti
tile
toshiba
tundra
via
xilinx
xircom
xscale
dnet.c
dnet.h
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c
Makefile
mipsnet.c
netx-eth.c
s6gmac.c