diff options
author | David Ahern <dsahern@gmail.com> | 2019-02-28 14:22:58 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-28 16:02:43 -0500 |
commit | be9cefe796f3abfbef02e66fbe3bff766b93b867 (patch) | |
tree | 4acfd4895706f9441158ff9f0388ac878f7f7bc3 /net/switchdev/switchdev.c | |
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>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions