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

Johannes Berg
2007-09-07T14:34:50Z

[-- Attachment #1: Type: text/plain, Size: 596 bytes --]

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

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 190 bytes --]