aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf.c
diff options
context:
space:
mode:
authorZhu Jun <[email protected]>2024-10-10 01:41:26 +0000
committerAndrii Nakryiko <[email protected]>2024-10-11 02:13:47 +0000
commitf3ef53174b23246fe9bc2bbc2542f3a3856fa1e2 (patch)
treebee2c9df68dd9459c1f4081ca3d28fb0d56491dd /tools/lib/bpf/libbpf.c
parentbpf: Update bpf_override_return() comment (diff)
downloadkernel-f3ef53174b23246fe9bc2bbc2542f3a3856fa1e2.tar.gz
kernel-f3ef53174b23246fe9bc2bbc2542f3a3856fa1e2.zip
samples/bpf: Fix a resource leak
The opened file should be closed in show_sockopts(), otherwise resource leak will occur that this problem was discovered by reading code Signed-off-by: Zhu Jun <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions