r8169: Fix sleeping function called during get_stats64, v2
authorCorinna Vinschen <vinschen@redhat.com>
Thu, 10 Sep 2015 08:47:35 +0000 (10:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Sep 2015 17:06:11 +0000 (10:06 -0700)
commit420203204eada39cfe0e8eb65e609da7b209cf33
tree4e6eaa9ad0d9051293ee45e83dd97d8db735b611
parent1ab1e895492d8084dfc1c854efacde219e56b8c1
r8169: Fix sleeping function called during get_stats64, v2

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=104031
Fixes: 6e85d5ad36a26debc23a9a865c029cbe242b2dc8

Based on the discussion starting at
http://www.spinics.net/lists/netdev/msg342193.html

Tested locally on RTL8168evl/8111evl with various concurrent processes
accessing /proc/net/dev while changing the link state as well as
removing/reloading the r8169 module.

Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
Tested-by: poma <pomidorabelisima@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c