I think this is a kernel bug. The scope seems to be passed into the
kernel via netlink as specified on the command line.

Looking at the kernel:
inet6_rtm_newaddr [1] calls  inet6_addr_add [2] without passing the ifa_scope 
struct member and then the scope is generated from the address within the 
inet6_addr_add function.

[1]: http://lxr.linux.no/#linux+v2.6.31/net/ipv6/addrconf.c#L3263
[2]: http://lxr.linux.no/#linux+v2.6.31/net/ipv6/addrconf.c#L2081

(compare the ipv4 equivalent inet_addr_add and see that it picks up the
ifa_scope from the rtnetlink message. Setting scope with iproute on ipv4
addresses works for me.)

Please forward to bugzilla.kernel.org (and by the way, iproute doesn't
have any bug tracker as far as I know).

-- 
Adding IP address with scope link creates global address
https://bugs.launchpad.net/bugs/487745
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to