diff options
| author | Matthieu Baerts (NGI0) <[email protected]> | 2024-06-07 16:31:03 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-06-12 02:30:25 +0000 |
| commit | 92fe5670271a58bb951646225ea367bb86f7feb3 (patch) | |
| tree | 276a7fc095c07e2706416822dfcb10722a2f675f /net/ipv4/tcp_ipv4.c | |
| parent | selftests: net: lib: ignore possible errors (diff) | |
| download | kernel-92fe5670271a58bb951646225ea367bb86f7feb3.tar.gz kernel-92fe5670271a58bb951646225ea367bb86f7feb3.zip | |
selftests: net: lib: remove ns from list after clean-up
Instead of only appending items to the list, removing them when the
netns has been deleted.
By doing that, we can make sure 'cleanup_all_ns()' is not trying to
remove already deleted netns.
Reviewed-by: Geliang Tang <[email protected]>
Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
Link: https://lore.kernel.org/r/20240607-upstream-net-next-20240607-selftests-mptcp-net-lib-v1-2-e36986faac94@kernel.org
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions
