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

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

From: Johannes Berg <hidden>
Date: 2007-09-07 14:34:50
Also in: linux-wireless, lkml

On Fri, 2007-09-07 at 07:25 -0700, Paul E. McKenney wrote:
quoted
quoted
quoted
@@ -226,22 +225,22 @@ void ieee80211_if_reinit(struct net_devi
 		/* Remove all virtual interfaces that use this BSS
 		 * as their sdata->bss */
 		struct ieee80211_sub_if_data *tsdata, *n;
-		LIST_HEAD(tmp_list);

-		write_lock_bh(&local->sub_if_lock);
This code is also protected by RTNL?
Yes.
Comment?  (Or is it in the function header?)
Oh, forgot to say: yes, there is a comment further up and even an
ASSERT_RTNL()

johannes

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help