diff options
author | 2024-10-20 21:22:54 +0200 | |
---|---|---|
committer | 2024-10-21 11:49:15 -0700 | |
commit | 0335dd6b5a4c178d9ae34694a0be7862873378bd (patch) | |
tree | e796d6597f4a869364cb3964e5f007f924afe67f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests/bpf: factorize conn and syncookies tests in a single runner (diff) | |
download | wireguard-linux-0335dd6b5a4c178d9ae34694a0be7862873378bd.tar.xz wireguard-linux-0335dd6b5a4c178d9ae34694a0be7862873378bd.zip |
selftests/bpf: add missing ns cleanups in btf_skc_cls_ingress
btf_skc_cls_ingress.c currently runs two subtests, and create a
dedicated network namespace for each, but never cleans up the created
namespace once the test has ended.
Add missing namespace cleanup after each subtest to avoid accumulating
namespaces for each new subtest. While at it, switch namespace
management to netns_{new,free}
Signed-off-by: Alexis Lothoré (eBPF Foundation) <alexis.lothore@bootlin.com>
Link: https://lore.kernel.org/r/20241020-syncookie-v2-2-2db240225fed@bootlin.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions