fib_tests: Add tests for metrics on routes
authorDavid Ahern <dsahern@gmail.com>
Fri, 5 Oct 2018 03:07:55 +0000 (20:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Oct 2018 04:54:34 +0000 (21:54 -0700)
commita0e11da78f487bc26ca7b14e4c9b40638623ebf6
tree3aae42095d4eb64040596a7367bb1253118ce15f
parent1620a33695d81611360d813a47ebde9386714036
fib_tests: Add tests for metrics on routes

Add ipv4 and ipv6 test cases for metrics (mtu) when fib entries are
created. Can be used with kmemleak to see leaks with both fib entries
and dst_entry.

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