From: david decotigny Date: Sat, 5 Nov 2011 14:38:20 +0000 (+0000) Subject: forcedeth: fix race when unloading module X-Git-Tag: v3.2-rc1~4^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9c4082df59e43c6667db197a4fb3eb3286f3fc1;p=pandora-kernel.git 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 Discussion: http://patchwork.ozlabs.org/patch/123548/ Signed-off-by: David Decotigny Signed-off-by: David S. Miller --- Reading git-diff-tree failed