]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
bpf: Remove attach_type in bpf_cgroup_link
authorTao Chen <chen.dylane@linux.dev>
Thu, 10 Jul 2025 03:20:33 +0000 (11:20 +0800)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 11 Jul 2025 17:51:55 +0000 (10:51 -0700)
commit9b8d543dc2bbf5d3a1e2d60049df94ae2bc68b28
tree74059dff3453bd5f0f039680eb9eb4721c03f298
parentb725441f02c2b31c04a95d0e9ca5420fa029a767
bpf: Remove attach_type in bpf_cgroup_link

Use attach_type in bpf_link, and remove it in bpf_cgroup_link.

Signed-off-by: Tao Chen <chen.dylane@linux.dev>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/bpf/20250710032038.888700-3-chen.dylane@linux.dev
include/linux/bpf-cgroup.h
kernel/bpf/cgroup.c