2008-01-24 10:50:00

by Michael Büsch

[permalink] [raw]
Subject: mac80211 does seem to have a netdev refcount bug

There seems to be a netdevice refcounting (freeing) bug in mac80211.
I frequently see the "waiting for netdev to become free, refcount = 1"
message on rmmod. I don't remember the message text exactly, but I think you
know what I mean.

Is there any way I can debug this and find out who is leaking the resource?

--
Greetings Michael.


2008-01-24 11:08:35

by Kalle Valo

[permalink] [raw]
Subject: Re: mac80211 does seem to have a netdev refcount bug

Michael Buesch <[email protected]> writes:

> There seems to be a netdevice refcounting (freeing) bug in mac80211.
> I frequently see the "waiting for netdev to become free, refcount = 1"
> message on rmmod. I don't remember the message text exactly, but I think you
> know what I mean.

Most probably it's this one:

http://bugzilla.kernel.org/show_bug.cgi?id=9778

There was a discussion on netdev about this. Not a mac80211 bug AFAIK.

--
Kalle Valo

2008-01-24 11:17:22

by Michael Büsch

[permalink] [raw]
Subject: Re: mac80211 does seem to have a netdev refcount bug

On Thursday 24 January 2008 12:07:07 Kalle Valo wrote:
> Michael Buesch <[email protected]> writes:
>
> > There seems to be a netdevice refcounting (freeing) bug in mac80211.
> > I frequently see the "waiting for netdev to become free, refcount = 1"
> > message on rmmod. I don't remember the message text exactly, but I think you
> > know what I mean.
>
> Most probably it's this one:
>
> http://bugzilla.kernel.org/show_bug.cgi?id=9778
>
> There was a discussion on netdev about this. Not a mac80211 bug AFAIK.

Oh, yes. This might be possible. So let's see. It will soon be fixed then.

--
Greetings Michael.