[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190228.130258.802803021588353925.davem@davemloft.net>
Date: Thu, 28 Feb 2019 13:02:58 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: dsahern@...nel.org
Cc: netdev@...r.kernel.org, dsahern@...il.com
Subject: Re: [PATCH net-next] selftests: rtnetlink: use internal netns
switch for ip commands
From: David Ahern <dsahern@...nel.org>
Date: Thu, 28 Feb 2019 11:22:58 -0800
> From: David Ahern <dsahern@...il.com>
>
> '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@...il.com>
Applied,thanks David.
Powered by blists - more mailing lists