]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9ef228b7c4914489426edef4846cec64ae5d955f
tree4e6eaa9ad0d9051293ee45e83dd97d8db735b611
parent2335d81b8947b5437c2f9386c17b1ae7baa1ef64
r8169: Fix sleeping function called during get_stats64, v2

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=104031
Fixes: 8dc4f56f07c84e843b02fa00df4b6a9e64b3534e
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