aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/fib_tests.sh
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2018-01-07 12:45:15 +0200
committerDavid S. Miller <davem@davemloft.net>2018-01-07 21:29:41 -0500
commit1de178edc76e4ad87d02fcadf73af97f52e87caa (patch)
tree40a5927f90f6b838b5039c1571499e2ac83ceeca /tools/testing/selftests/net/fib_tests.sh
parentipv6: Take table lock outside of sernum update function (diff)
downloadlinux-dev-1de178edc76e4ad87d02fcadf73af97f52e87caa.tar.xz
linux-dev-1de178edc76e4ad87d02fcadf73af97f52e87caa.zip
ipv6: Flush multipath routes when all siblings are dead
By default, IPv6 deletes nexthops from a multipath route when the nexthop device is put administratively down. This differs from IPv4 where the nexthops are kept, but marked with the RTNH_F_DEAD flag. A multipath route is flushed when all of its nexthops become dead. Align IPv6 with IPv4 and have it conform to the same guidelines. In case the multipath route needs to be flushed, its siblings are flushed one by one. Otherwise, the nexthops are marked with the appropriate flags and the tree walker is instructed to skip all the siblings. As explained in previous patches, care is taken to update the sernum of the affected tree nodes, so as to prevent the use of wrong dst entries. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Acked-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions