diff options
author | david decotigny <david.decotigny@google.com> | 2011-11-05 14:38:20 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-07 13:31:24 -0500 |
commit | f9c4082df59e43c6667db197a4fb3eb3286f3fc1 (patch) | |
tree | 2bd8c50a7a0ea2b12b0f384fb656eb51e32cfbd0 /security/integrity/Kconfig | |
parent | dd1294c4ed25725d13a6cb3d93ca0eb5fee14963 (diff) | |
download | blackbird-op-linux-f9c4082df59e43c6667db197a4fb3eb3286f3fc1.tar.gz blackbird-op-linux-f9c4082df59e43c6667db197a4fb3eb3286f3fc1.zip |
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>
Diffstat (limited to 'security/integrity/Kconfig')
0 files changed, 0 insertions, 0 deletions