diff options
author | Matteo Croce <[email protected]> | 2024-08-19 18:28:04 +0200 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2024-08-19 15:25:30 -0700 |
commit | 67666479edf1e2b732f4d0ac797885e859a78de4 (patch) | |
tree | 81e31a001428b77b3b6e1e58660e3f03075796a7 /drivers/usb/cdns3/cdns3-debug.h | |
parent | fdf1c728fac541891ef1aa773bfd42728626769c (diff) |
bpf: Enable generic kfuncs for BPF_CGROUP_* programs
These kfuncs are enabled even in BPF_PROG_TYPE_TRACING, so they
should be safe also in BPF_CGROUP_* programs.
Since all BPF_CGROUP_* programs share the same hook,
call register_btf_kfunc_id_set() only once.
In enum btf_kfunc_hook, rename BTF_KFUNC_HOOK_CGROUP_SKB to a more
generic BTF_KFUNC_HOOK_CGROUP, since it's used for all the cgroup
related program types.
Signed-off-by: Matteo Croce <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions