netdev
[Top] [All Lists]

Re: (usagi-users 00720) [Patch 1of2] IPv6 addrconf_forward_change() bug

To: <usagi-users@xxxxxxxxxxxxxx>
Subject: Re: (usagi-users 00720) [Patch 1of2] IPv6 addrconf_forward_change() bug
From: Pekka Savola <pekkas@xxxxxxxxxx>
Date: Wed, 29 Aug 2001 11:47:21 +0300 (EEST)
Cc: <netdev@xxxxxxxxxxx>
In-reply-to: <OF420CE0E5.D3DB8C83-ON88256AB6.0082BD93@xxxxxxxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
On Tue, 28 Aug 2001, David Stevens wrote:
> The problem is, at this point, "ctl" points to the child sysctl entry 
> (procname
> "forwarding", ctl_name is 1 (always)). The parent node has ifindex set, but 
> not
> the child. On my system, the dev returned (no matter what device the sysctl
> was changing) is "lo", which has ifindex 1.

As a side note, the implementation gets in a pretty bad shape if you do
'ifconfig lo down'.  For instance, it'll get into a loop trying to ICMPv6
ND its own IPv6 addresses, when you perform e.g. ping6 next, through
ethernet interface.

This is fixed by putting lo back up _and_ re-adding the addresses
(link-locals too, so basically reload the nic driver).

-- 
Pekka Savola                 "Tell me of difficulties surmounted,
Netcore Oy                   not those you stumble over and fall"
Systems. Networks. Security.  -- Robert Jordan: A Crown of Swords


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