diff options
author | Jakub Kicinski <kuba@kernel.org> | 2024-06-11 19:30:27 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-06-11 19:30:28 -0700 |
commit | d4cea2caee9e16d7eb3d9cfc88ea31f1018e8069 (patch) | |
tree | eb02cba49ede15b5814fe49f780717f99d3c22ae /mm | |
parent | bfc65070a3767dd04bff32ef896394ba63cef085 (diff) | |
parent | 1af3bc912eac91de6eb2a67a0cc7cfd5e1f11f2c (diff) |
Merge branch 'selftests-mptcp-use-net-lib-sh-to-manage-netns'
Matthieu Baerts says:
====================
selftests: mptcp: use net/lib.sh to manage netns
The goal of this series is to use helpers from net/lib.sh with MPTCP
selftests.
- Patches 1 to 4 are some clean-ups and preparation in net/lib.sh:
- Patch 1 simplifies the code handling errexit by ignoring possible
errors instead of disabling errexit temporary.
- Patch 2 removes the netns from the list after having cleaned it, not
to try to clean it twice.
- Patch 3 removes the 'readonly' attribute for the netns variable, to
allow using the same name in local variables.
- Patch 4 removes the local 'ns' var, not to conflict with the global
one it needs to setup.
- Patch 5 uses helpers from net/lib.sh to create and delete netns in
MPTCP selftests.
- Patch 6 uses wait_local_port_listen helper from net/net_helper.sh.
====================
Link: https://lore.kernel.org/r/20240607-upstream-net-next-20240607-selftests-mptcp-net-lib-v1-0-e36986faac94@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions