aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2020-03-13 00:21:28 +0000
committerAlexei Starovoitov <[email protected]>2020-03-13 19:49:51 +0000
commit98868668367b24487c0b0b3298d7ca98409baf07 (patch)
treefd21f9944906d4f3475021869688cbfe25a18db9 /scripts/bpf_helpers_doc.py
parentselftests/bpf: Make tcp_rtt test more robust to failures (diff)
downloadkernel-98868668367b24487c0b0b3298d7ca98409baf07.tar.gz
kernel-98868668367b24487c0b0b3298d7ca98409baf07.zip
bpf: Abstract away entire bpf_link clean up procedure
Instead of requiring users to do three steps for cleaning up bpf_link, its anon_inode file, and unused fd, abstract that away into bpf_link_cleanup() helper. bpf_link_defunct() is removed, as it shouldn't be needed as an individual operation anymore. v1->v2: - keep bpf_link_cleanup() static for now (Daniel). Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Link: https://lore.kernel.org/bpf/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions