]> git.baikalelectronics.ru Git - kernel.git/commit
fib_tests: Add tests for invalid metric on route
authorDavid Ahern <dsahern@gmail.com>
Fri, 5 Oct 2018 17:01:19 +0000 (10:01 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Oct 2018 18:58:50 +0000 (11:58 -0700)
commitaeb985632e1109aee469be681fcbfefbd4fb4f2c
treef1e80c6f13b405d81d60757406a1ffc32709acb0
parent47e7c7904be215ba6f985740d366a83a536873c3
fib_tests: Add tests for invalid metric on route

Add ipv4 and ipv6 test cases with an invalid metrics option causing
ip_metrics_convert to fail. Tests clean up path during route add.

Also, add nodad to to ipv6 address add. When running ipv6_route_metrics
directly seeing an occasional failure on the "Using route with mtu metric"
test case.

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