diff options
author | Dmitry Safonov <[email protected]> | 2024-08-23 23:04:55 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-08-27 14:11:27 -0700 |
commit | a9e1693406f96f3739611dd08518c9eda3acecfd (patch) | |
tree | 80092f7b23d4e06074c6297146b8fdf5fd0e9605 /tools/testing/selftests/bpf/progs/test_prog_array_init.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 <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions