Thread (23 messages) flat view 23 messages, 8 authors, 2007-09-13

Re: BUG: scheduling while atomic: ifconfig/0x00000002/4170

From: Satyam Sharma <hidden>
Date: 2007-09-06 08:28:49
Also in: linux-wireless, lkml


On Thu, 6 Sep 2007, Herbert Xu wrote:
On Thu, Sep 06, 2007 at 10:32:33AM +0530, Satyam Sharma wrote:
quoted
quoted
quoted
[  382.529041]  [<c02c8abc>] dev_close+0x24/0x67
[  382.529052]  [<e01f402b>] ieee80211_master_stop+0x4a/0x6d [mac80211]
This is where the bug is.  You cannot call dev_close from an
atomic context as i33380211_master_stop does it within spin
locks.
Doh, of course! I must be blind ... and wait_for_completion()'s
might_sleep() clearly didn't trigger earlier because Florian must've
had CONFIG_DEBUG_SPINLOCK_SLEEP off in his .config ...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help