Re: myri10ge: fix sleeping with bh disabled

2016-04-28 Thread David Miller
From: Stanislaw Gruszka Date: Mon, 25 Apr 2016 10:59:19 +0200 > 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:438

Re: myri10ge: fix sleeping with bh disabled

2016-04-25 Thread Hyong-Youb Kim
On Mon, Apr 25, 2016 at 10:59:19AM +0200, Stanislaw Gruszka wrote: > napi_disable() can not be called with bh disabled, move locking just > around myri10ge_ss_lock_napi() . Acked-by: Hyong-Youb Kim Thanks. > > Patches fixes following bug: > > [ 114.278378] BUG: sleeping function called from

myri10ge: fix sleeping with bh disabled

2016-04-25 Thread Stanislaw Gruszka
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 [ 114.313712] Call Trace: [ 114.314943] [] dump_stack+0x19/0x1b [ 11