]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: pmtu: Use namespace command prefix to fetch route mtu
authorStefano Brivio <sbrivio@redhat.com>
Sat, 17 Mar 2018 01:31:39 +0000 (02:31 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Mar 2018 00:15:13 +0000 (20:15 -0400)
commitf6b0c70b7eb3fb99e56d39249fdef2dae9d8eb78
tree191ca97ba93e3fc64bc8350bb16bbc99f01f8fc5
parent3217f83b33ff70a36202d777ac658e8f30eae7ce
selftests: pmtu: Use namespace command prefix to fetch route mtu

In 7af137b72131 ("selftests: net: Introduce first PMTU test") I
accidentally assumed route_get_* helpers would run from a single
namespace. Make them a bit more generic, by passing the
namespace command prefix as a parameter instead.

Fixes: 7af137b72131 ("selftests: net: Introduce first PMTU test")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/pmtu.sh