netdev
[Top] [All Lists]

Re: unregister_netdevice: waiting for tun6to4 to become free.

To: "YOSHIFUJI Hideaki / ?$B5HF#1QL@" <yoshfuji@xxxxxxxxxxxxxx>
Subject: Re: unregister_netdevice: waiting for tun6to4 to become free.
From: Pekka Pietikainen <pp@xxxxxxxxxx>
Date: Thu, 16 Dec 2004 02:32:17 +0200
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20040923.172253.125681726.yoshfuji@xxxxxxxxxxxxxx>
References: <41523EC5.20805@xxxxxxxx> <41527796.4010204@xxxxxxxx> <4152843D.6010204@xxxxxxxx> <20040923.172253.125681726.yoshfuji@xxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.2i
On Thu, Sep 23, 2004 at 05:22:53PM +0900, YOSHIFUJI Hideaki / ?$B5HF#1QL@ wrote:
> > > If I boot with net.ipv6.conf.default.forward = 1 in sysctl.conf - but 
> > > then after the boot do echo 1 > /proc/sys/net/ipv6/conf/all/forward (to 
> > > actually get it running)
> > > I have the ipv6/conf/default/forwarding set in sysctl.conf on all the 
> > > routers, and it seems zebra sets the ipv6/conf/all/forwarding later on.
> > if default is set first, then tunnels created, followed by setting 
> > "all"; everything breaks down on ifdown.
> > 
> > pretty neat :)
> 
> Thank you everyone for tracking down this bug.
> I will fix this bug and come up with patch tomorrow (or so).
> Thanks again.
Hiya

There seems to be a regression, I've recently bumped into this bug again.
(2.6.9-fc3-latest-thing, I didn't see anything relevant in latest Linus bk).
It did work for some time ago, since them my ipv6 configuration has changed
and I've updated the kernel quite a bit.

   if [ "$device" != "sit0" ]; then
                if ipv6_exec_ip tunnel show $device 2>/dev/null | LC_ALL=C grep 
-q -w "ipv6/ip"; then
                        ipv6_exec_ip tunnel del $device

is what triggers it, tunnel del gets stuck with a refcnt of 1, device is no
longer in /proc/net/dev. Tunnel is run on top of PPPoE and it's a dynamic
sixxs.net aiccu thing. IPv6 forwarding is on.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=282023 seems to be related
too.

<Prev in Thread] Current Thread [Next in Thread>
  • Re: unregister_netdevice: waiting for tun6to4 to become free., Pekka Pietikainen <=