selftests/net: fix in_netns.sh script
authorPrashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
Tue, 6 Mar 2018 08:31:32 +0000 (17:31 +0900)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Mar 2018 17:26:05 +0000 (12:26 -0500)
commit4d1e46a55ea9f8d693ceabe1ba4b056e55fb6625
treeb1394e87bcad093f5870962117a51c582174cd5d
parent6e61e10a8a9655424cf03c0fb44d282b40f402a2
selftests/net: fix in_netns.sh script

execute the subprocess in netns using 'ip netns exec'

Fixes: cc30c93fa020 ("selftests/net: ignore background traffic in psock_fanout")
Signed-off-by: Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/in_netns.sh