aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/bpf-cgroup.h
diff options
context:
space:
mode:
authorTao Chen <[email protected]>2025-07-10 03:20:33 +0000
committerAndrii Nakryiko <[email protected]>2025-07-11 17:51:55 +0000
commit9b8d543dc2bbf5d3a1e2d60049df94ae2bc68b28 (patch)
tree74059dff3453bd5f0f039680eb9eb4721c03f298 /include/linux/bpf-cgroup.h
parentbpf: Add attach_type field to bpf_link (diff)
downloadkernel-9b8d543dc2bbf5d3a1e2d60049df94ae2bc68b28.tar.gz
kernel-9b8d543dc2bbf5d3a1e2d60049df94ae2bc68b28.zip
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 <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: Daniel Borkmann <[email protected]> Acked-by: Jiri Olsa <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'include/linux/bpf-cgroup.h')
-rw-r--r--include/linux/bpf-cgroup.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/bpf-cgroup.h b/include/linux/bpf-cgroup.h
index 70c8b94e797a..082ccd8ad96b 100644
--- a/include/linux/bpf-cgroup.h
+++ b/include/linux/bpf-cgroup.h
@@ -103,7 +103,6 @@ struct bpf_cgroup_storage {
struct bpf_cgroup_link {
struct bpf_link link;
struct cgroup *cgroup;
- enum bpf_attach_type type;
};
struct bpf_prog_list {