diff options
| author | Kui-Feng Lee <thinker.li@gmail.com> | 2024-05-29 23:59:40 -0700 |
|---|---|---|
| committer | Martin KaFai Lau <martin.lau@kernel.org> | 2024-05-30 15:34:13 -0700 |
| commit | 6fb2544ea1493f52e50b753604791c01bd2cf897 (patch) | |
| tree | 0876de2cb261e1fcf94fdb11672018e99e065b22 /include/linux/bpf.h | |
| parent | 73287fe228721b05690e671adbcccc6cf5435be6 (diff) | |
| download | linux-6fb2544ea1493f52e50b753604791c01bd2cf897.tar.gz linux-6fb2544ea1493f52e50b753604791c01bd2cf897.tar.bz2 linux-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
