diff options
author | Andrii Nakryiko <[email protected]> | 2020-03-12 17:21:28 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2020-03-13 12:49:51 -0700 |
commit | 98868668367b24487c0b0b3298d7ca98409baf07 (patch) | |
tree | fd21f9944906d4f3475021869688cbfe25a18db9 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 4cd729fa022cb5142e5b65f25589af61c8148cf6 (diff) |
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 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions