]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: Ignore dead routes during lookup
authorIdo Schimmel <idosch@mellanox.com>
Sun, 7 Jan 2018 10:45:09 +0000 (12:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Jan 2018 02:29:40 +0000 (21:29 -0500)
commitbf4247fbd47ad1a1aa2c1280389989a9b3f36465
tree704e1f5efb55ba66711f3369a4a827432c90477b
parentb8be9b88f913fd6271b5db9024cc77eacce6cf17
ipv6: Ignore dead routes during lookup

Currently, dead routes are only present in the routing tables in case
the 'ignore_routes_with_linkdown' sysctl is set. Otherwise, they are
flushed.

Subsequent patches are going to remove the reliance on this sysctl and
make IPv6 more consistent with IPv4.

Before this is done, we need to make sure dead routes are skipped during
route lookup, so as to not cause packet loss.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c