]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: don't install anycast address for /128 addresses on routers
authorHannes Frederic Sowa <hannes@stressinduktion.org>
Mon, 6 Jan 2014 16:53:14 +0000 (17:53 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jan 2014 21:32:43 +0000 (16:32 -0500)
commit0931c37141f6ae62ade5444b7b58a23bf561a497
tree65f99276eb6fb39680a995ae4d68f5b4f3755ad8
parent2604c860ae7a689200f532156769c9b46638bf9e
ipv6: don't install anycast address for /128 addresses on routers

It does not make sense to create an anycast address for an /128-prefix.
Suppress it.

As 7c5321e36a4ea9 ("ipv6: Do not leave router anycast address for /127
prefixes.") shows we also may not leave them, because we could accidentally
remove an anycast address the user has allocated or got added via another
prefix.

Cc: François-Xavier Le Bail <fx.lebail@yahoo.com>
Cc: Thomas Haller <thaller@redhat.com>
Cc: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c