diff options
author | Dmitry Safonov <0x7f454c46@gmail.com> | 2024-08-23 23:04:55 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-08-27 14:11:27 -0700 |
commit | a9e1693406f96f3739611dd08518c9eda3acecfd (patch) | |
tree | 80092f7b23d4e06074c6297146b8fdf5fd0e9605 /tools/testing/selftests/net/tcp_ao/lib/utils.c | |
parent | 8acb1806e8c2846ae619f500a3229a325c3304f5 (diff) |
selftests/net: Don't forget to close nsfd after switch_save_ns()
The switch_save_ns() helper suppose to help switching to another
namespace for some action and to return back to original namespace.
The fd should be closed.
Signed-off-by: Dmitry Safonov <0x7f454c46@gmail.com>
Link: https://patch.msgid.link/20240823-tcp-ao-selftests-upd-6-12-v4-5-05623636fe8c@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/tcp_ao/lib/utils.c')
0 files changed, 0 insertions, 0 deletions