[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 11 Dec 2008 21:49:54 +1100
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Jarek Poplawski <jarkao2@...il.com>
Cc: Mathieu SEGAUD <mathieu.segaud@...ala.cx>, netdev@...r.kernel.org,
kernel@...too.org
Subject: Re: Lockup with tun/tap/bridge interface deregistration.
On Thu, Dec 11, 2008 at 10:43:03AM +0000, Jarek Poplawski wrote:
> On Thu, Dec 11, 2008 at 10:24:21AM +0000, Jarek Poplawski wrote:
> ...
> > Could you try e.g. 2.6.27.7 or something with this patch?:
> >
> > http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.27.y.git;a=commit;h=58ec3b4db9eb5a28e3aec5f407a54e28f7039c19
>
> Oops! 2.6.27.4 has this too...
Right, this fixes a dead-lock that causes the RTNL to be held which
doesn't seem to be the case here. It sounds like the problem in
this thread is simply due to a non-zero ref count on the netdev
itself.
Mathieu, you should get a message like this
unregister_netdevice: waiting for %s to become free. Usage count = %d
What does your count say?
Thanks,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists