diff options
author | Tao Chen <chen.dylane@linux.dev> | 2025-07-10 11:20:33 +0800 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2025-07-11 10:51:55 -0700 |
commit | 9b8d543dc2bbf5d3a1e2d60049df94ae2bc68b28 (patch) | |
tree | 74059dff3453bd5f0f039680eb9eb4721c03f298 /include/linux/bpf-cgroup.h | |
parent | b725441f02c2b31c04a95d0e9ca5420fa029a767 (diff) |
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
Diffstat (limited to 'include/linux/bpf-cgroup.h')
-rw-r--r-- | include/linux/bpf-cgroup.h | 1 |
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 { |