commit | be9cefe796f3abfbef02e66fbe3bff766b93b867 | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@gmail.com> | Thu Feb 28 11:22:58 2019 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Feb 28 13:02:43 2019 -0800 |
tree | 4acfd4895706f9441158ff9f0388ac878f7f7bc3 | |
parent | b9f2c028709d158c57e7b8d76d4eadff3d9c69a6 [diff] |
selftests: rtnetlink: use internal netns switch for ip commands '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 <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>