diff options
author | 2024-05-29 23:59:40 -0700 | |
---|---|---|
committer | 2024-05-30 15:34:13 -0700 | |
commit | 6fb2544ea1493f52e50b753604791c01bd2cf897 (patch) | |
tree | 0876de2cb261e1fcf94fdb11672018e99e065b22 /include/linux/bpf.h | |
parent | bpf: pass bpf_struct_ops_link to callbacks in bpf_struct_ops. (diff) | |
download | linux-rng-6fb2544ea1493f52e50b753604791c01bd2cf897.tar.xz linux-rng-6fb2544ea1493f52e50b753604791c01bd2cf897.zip |
bpf: enable detaching links of struct_ops objects.
Implement the detach callback in bpf_link_ops for struct_ops so that user
programs can detach a struct_ops link. The subsystems that struct_ops
objects are registered to can also use this callback to detach the links
being passed to them.
Signed-off-by: Kui-Feng Lee <thinker.li@gmail.com>
Link: https://lore.kernel.org/r/20240530065946.979330-3-thinker.li@gmail.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'include/linux/bpf.h')
0 files changed, 0 insertions, 0 deletions