diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2016-04-25 10:59:19 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-28 20:21:14 +0200 |
commit | 4be2b49e2820eeaf6436bf7c6d0099c86b6cd237 (patch) | |
tree | a6d57c5e3b16fe9a31c37a828dbe1331219e249d /drivers/net/ethernet/sfc | |
parent | Documentation: networking: fix spelling mistakes (diff) | |
download | linux-4be2b49e2820eeaf6436bf7c6d0099c86b6cd237.tar.xz linux-4be2b49e2820eeaf6436bf7c6d0099c86b6cd237.zip |
myri10ge: fix sleeping with bh disabled
napi_disable() can not be called with bh disabled, move locking just
around myri10ge_ss_lock_napi() .
Patches fixes following bug:
[ 114.278378] BUG: sleeping function called from invalid context at net/core/dev.c:4383
<snip>
[ 114.313712] Call Trace:
[ 114.314943] [<ffffffff817010ce>] dump_stack+0x19/0x1b
[ 114.317673] [<ffffffff810ce7f3>] __might_sleep+0x173/0x230
[ 114.320566] [<ffffffff815b3117>] napi_disable+0x27/0x90
[ 114.323254] [<ffffffffa01e437f>] myri10ge_close+0xbf/0x3f0 [myri10ge]
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Hyong-Youb Kim <hykim@myri.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc')
0 files changed, 0 insertions, 0 deletions