[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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