]> git.baikalelectronics.ru Git - kernel.git/commit
[IPV6] ROUTE: Make sending algorithm more friendly with RFC 4861.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Sat, 19 Jan 2008 08:35:16 +0000 (00:35 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jan 2008 04:31:40 +0000 (20:31 -0800)
commit7d9d0f5762be56edc9b5b7435bfa402d1841f54d
treeef9a070fa1214d45fac153b7953ce984ac10acd5
parentb8c917150c6411193a670b1ecffca65a205f3963
[IPV6] ROUTE: Make sending algorithm more friendly with RFC 4861.

We omit (or delay) sending NSes for known-to-unreachable routers (in
NUD_FAILED state) according to RFC 4191 (Default Router Preferences
and More-Specific Routes).  But this is not fully compatible with RFC
4861 (Neighbor Discovery Protocol for IPv6), which does not remember
unreachability of neighbors.

So, let's avoid mixing sending algorithm of RFC 4191 and that of RFC
4861, and make the algorithm more friendly with RFC 4861 if RFC 4191
is disabled.

Issue was found by IPv6 Ready Logo Core Self_Test 1.5.0b2 (by TAHI
Project), and has been tracked down by Mitsuru Chinen
<mitch@linux.vnet.ibm.com>.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c