Re: [PATCH net-next] selftests: rtnetlink: use internal netns switch for ip commands
From: David Miller <davem@davemloft.net>
Date: 2019-02-28 21:03:01
From: David Miller <davem@davemloft.net>
Date: 2019-02-28 21:03:01
From: David Ahern <dsahern@kernel.org> Date: Thu, 28 Feb 2019 11:22:58 -0800
From: David Ahern <redacted>
'ip' can switch network namespaces internally and then run a given
command relative to that namespace without the need to fork and exec
another ip instance. Update all references of the form:
ip netns exec "$testns" ip ...
to
ip -netns "$testns" ...
Signed-off-by: David Ahern <redacted>Applied,thanks David.