Re: iwl3945: regression - unregister_netdevice: waiting for wlan0to become free. Usage count = 1

From: Michal Hocko
Date: Mon Nov 22 2010 - 07:46:21 EST


On Mon 22-11-10 12:19:36, Eric Dumazet wrote:
> Le lundi 22 novembre 2010 ?? 11:43 +0100, Michal Hocko a ??crit :
> > Hi,
> > I am experiencing iwl3945 driver reference counting problem with the current
> > 2.6.37-rc2 kernel release.
> >
> > The problem can be easily reproduced by associating to an AP (I have
> > tried only wep and wpa based auth) and then rmmod iw3945 which gets
> > stuck in unregister_netdevice (in the endless loop as there is no way -
> > I guess - to decrease the reference count to 0) spitting the following
> > message:
> >
> > unregister_netdevice: waiting for wlan0 to become free. Usage count = 1
> >
[...]
>
>
> Oh well, it seems David put the fix in net-next-2.6 instead of net-2.6
>
> Please try :
>
> http://git.kernel.org/?p=linux/kernel/git/davem/net-next-2.6.git;a=commitdiff;h=9d82ca98f71fd686ef2f3017c5e3e6a4871b6e46

Yes, the patch really fixes the issue. Thanks a lot!
Btw. I have checked -rc3 which doesn't conttain the fix as well.

>
> Thanks
>
>

--
Michal Hocko
L3 team
SUSE LINUX s.r.o.
Lihovarska 1060/12
190 00 Praha 9
Czech Republic
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/