]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: Do not leave router anycast address for /127 prefixes.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Sun, 24 Jul 2011 11:44:34 +0000 (11:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jul 2011 23:16:00 +0000 (16:16 -0700)
commit3f4038ac80d06a61211d14e1ab741623bb6bc85b
tree67a1eba02e87c75e382648c0853c47ee8c2aec03
parent45f569c5367d3f34ddd22018f1bed5216468f007
ipv6: Do not leave router anycast address for /127 prefixes.

Original commit 6930e6b1c81... "Disable router anycast
address for /127 prefixes" says:

|   No need for matching code in addrconf_leave_anycast() as it
|   will silently ignore any attempt to leave an unknown anycast
|   address.

After analysis, because 1) we may add two or more prefixes on the
same interface, or 2)user may have manually joined that anycast,
we may hit chances to have anycast address which as if we had
generated one by /127 prefix and we should not leave from subnet-
router anycast address unconditionally.

CC: Bjørn Mork <bjorn@mork.no>
CC: Brian Haley <brian.haley@hp.com>
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c