]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
selftests: mptcp: run mptcp_inq from a clean netns
authorMatthieu Baerts <matthieu.baerts@tessares.net>
Wed, 30 Nov 2022 14:06:23 +0000 (15:06 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 2 Dec 2022 04:06:05 +0000 (20:06 -0800)
commitb4e0df4cafe112220c19d30439732d22289147f1
tree3ad656b84ec96cfccefac87dfc80c4249ba83fee
parenta802073d1c9ca2ffd757ab8df5afa9d73ba7e6b1
selftests: mptcp: run mptcp_inq from a clean netns

A new "sandbox" net namespace is available where no other netfilter
rules have been added.

Use this new netns instead of re-using "ns1" and clean it.

Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/mptcp_sockopt.sh