[PATCH v1 0/2] Only cgroup v2 can be attached by bpf programs

Chen Ridong posted 2 patches 1 month, 1 week ago
kernel/cgroup/cgroup.c | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
[PATCH v1 0/2] Only cgroup v2 can be attached by bpf programs
Posted by Chen Ridong 1 month, 1 week ago
From: Chen Ridong <chenridong@huawei.com>

Only cgroup v2 can be attached by bpf programs. This patchset reverts
commit 04f8ef5643bc ("cgroup: Fix memory leak caused by missing
cgroup_bpf_offline") and avoid cgroup_bpf_inherit and cgroup_bpf_offline
being call in cgroup v1.

Chen Ridong (2):
  Revert "cgroup: Fix memory leak caused by missing cgroup_bpf_offline"
  cgroup/bpf: only cgroup v2 can be attached by bpf programs

 kernel/cgroup/cgroup.c | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

-- 
2.34.1
Re: [PATCH v1 0/2] Only cgroup v2 can be attached by bpf programs
Posted by Tejun Heo 1 month ago
On Fri, Oct 18, 2024 at 08:15:18AM +0000, Chen Ridong wrote:
> From: Chen Ridong <chenridong@huawei.com>
> 
> Only cgroup v2 can be attached by bpf programs. This patchset reverts
> commit 04f8ef5643bc ("cgroup: Fix memory leak caused by missing
> cgroup_bpf_offline") and avoid cgroup_bpf_inherit and cgroup_bpf_offline
> being call in cgroup v1.

Applied to cgroup/for-6.13.

Thanks.

-- 
tejun