Thread (28 messages) 28 messages, 4 authors, 2003-09-05

Re: [PATCH] IPv6: (5/5+1) Autoconfig link-local addr to IPv6 tunnels

From: YOSHIFUJI Hideaki / 吉藤英明 <hidden>
Date: 2003-09-03 10:22:26

In article [ref] (at Wed, 3 Sep 2003 13:17:56 +0300 (EEST)), Ville Nuorvala [off-list ref] says:
Come to think of it a more elegant solution might be:

        if (ifp->idev->cnf.forwarding == 0 &&
            (dev->flags&IFF_LOOPBACK) == 0 &&
+           ifp->idev->cnf.rtr_solicits > 0 &&
            (ipv6_addr_type(&ifp->addr) & IPV6_ADDR_LINKLOCAL)) {
                struct in6_addr all_routers;

and set both idev->cnf.rtr_solicits = 0 and idev->cnf.accept_ra = 0 for
ARPHRD_TUNNEL6 devices
Yes, something like that.

quoted
Comment: this strategy is the "default."
We can (or even should) do this stretegy whenever we failed to
ipv6_generate_eui64() in addrconf_dev_config().
Should I send a separate patch to enable the random interface ids in
addrconf_dev_config()?
No, just move them to addrconf_dev_config().

--yoshfuji
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help