diff options
author | 2019-02-28 11:22:58 -0800 | |
---|---|---|
committer | 2019-02-28 13:02:43 -0800 | |
commit | be9cefe796f3abfbef02e66fbe3bff766b93b867 (patch) | |
tree | 4acfd4895706f9441158ff9f0388ac878f7f7bc3 /net/switchdev/switchdev.c | |
parent | Merge branch 's390-qeth-next' (diff) | |
download | wireguard-linux-be9cefe796f3abfbef02e66fbe3bff766b93b867.tar.xz wireguard-linux-be9cefe796f3abfbef02e66fbe3bff766b93b867.zip |
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