aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2023-11-25 20:31:28 +0100
committerAndrii Nakryiko <[email protected]>2023-11-28 21:50:09 -0800
commit1703612885723869064f18e8816c6f3f87987748 (patch)
tree8fb956a4f362b70c73e4cd71d5b803bb1a5ec151 /tools/testing/selftests/bpf/progs/test_autoload.c
parente56fdbfb06e26a7066b070967badef4148528df2 (diff)
selftests/bpf: Use bpf_link__destroy in fill_link_info tests
The fill_link_info test keeps skeleton open and just creates various links. We are wrongly calling bpf_link__detach after each test to close them, we need to call bpf_link__destroy. Signed-off-by: Jiri Olsa <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: Yonghong Song <[email protected]> Acked-by: Yafang Shao <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions