netdev
[Top] [All Lists]

Re: unregister_netdevice: waiting for tun6to4 to become free.

To: andre@xxxxxxxx, tgraf@xxxxxxx, pp@xxxxxxxxxx, jgarzik@xxxxxxxxx, dwmw2@xxxxxxxxxxxxx
Subject: Re: unregister_netdevice: waiting for tun6to4 to become free.
From: YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx>
Date: Thu, 23 Sep 2004 17:22:53 +0900 (JST)
Cc: netdev@xxxxxxxxxxx, yoshfuji@xxxxxxxxxxxxxx, davem@xxxxxxxxxxxxx
In-reply-to: <4152843D.6010204@tomt.net>
Organization: USAGI Project
References: <41523EC5.20805@tomt.net> <41527796.4010204@tomt.net> <4152843D.6010204@tomt.net>
Sender: netdev-bounce@xxxxxxxxxxx
In article <4152843D.6010204@xxxxxxxx> (at Thu, 23 Sep 2004 10:07:25 +0200), 
Andre Tomt <andre@xxxxxxxx> says:

> > 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)
> > 
> > we'll crash and burn when taking down the interface.
> > 
> > Only setting /proc/sys/net/ipv6/conf/all/forward = 1, but never touch 
> > default, it goes down cleanly.
> > 
> > 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.
> > 
> 
> Possibly important note:
> 
> if I set up both conf.all and conf.default (order does not matter) 
> before the tunnel devices are created, everything works as expected.
> 
> eg. in sysctl.conf:
> net.ipv6.conf.default.forwarding=1
> net.ipv6.conf.all.forwarding=1
> 
> 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.

-- 
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@xxxxxxxxxxxxxx>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA

<Prev in Thread] Current Thread [Next in Thread>