lkml.org 
[lkml]   [2007]   [Sep]   [7]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: BUG: scheduling while atomic: ifconfig/0x00000002/4170
FromJohannes Berg <>
DateFri, 07 Sep 2007 16:35:59 +0200
On Fri, 2007-09-07 at 07:25 -0700, Paul E. McKenney wrote:

> > > > @@ -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
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2007-09-07 16:37    [from the cache]
©2003-2008