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
..
2011-10-02 00:19:34 +02:00
2011-11-03 11:22:44 -07:00
2011-09-21 16:19:44 -04:00
2011-11-03 15:49:24 -05:00
2011-09-27 18:08:04 +02:00
2011-10-28 15:03:54 +09:00
2011-11-02 16:07:03 -07:00
2011-10-24 21:00:34 +02:00