diff options
author | 2023-11-25 20:31:28 +0100 | |
---|---|---|
committer | 2023-11-28 21:50:09 -0800 | |
commit | 1703612885723869064f18e8816c6f3f87987748 (patch) | |
tree | 8fb956a4f362b70c73e4cd71d5b803bb1a5ec151 /lib/test_bpf.c | |
parent | bpf: Add link_info support for uprobe multi link (diff) | |
download | wireguard-linux-1703612885723869064f18e8816c6f3f87987748.tar.xz wireguard-linux-1703612885723869064f18e8816c6f3f87987748.zip |
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 <jolsa@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Acked-by: Yafang Shao <laoar.shao@gmail.com>
Link: https://lore.kernel.org/bpf/20231125193130.834322-5-jolsa@kernel.org
Diffstat (limited to 'lib/test_bpf.c')
0 files changed, 0 insertions, 0 deletions