selftests: fib_tests: Add test cases for netdev carrier change
authorIdo Schimmel <idosch@mellanox.com>
Sun, 7 Jan 2018 10:45:18 +0000 (12:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Jan 2018 02:29:41 +0000 (21:29 -0500)
commit82e45b6fd29246f36ff8064e74d412c11feaab23
treec7e921c94f3e0522bd99a79d156f02f39fd07e49
parent5adb7683b48e35bc863a37e026dc6038ded30560
selftests: fib_tests: Add test cases for netdev carrier change

Check that IPv4 and IPv6 react the same when the carrier of a netdev is
toggled. Local routes should not be affected by this, whereas unicast
routes should.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/fib_tests.sh