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

From: Johannes Berg
Date: Fri Sep 07 2007 - 10:34:54 EST


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: signature.asc
Description: This is a digitally signed message part