[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241018081520.694139-1-chenridong@huaweicloud.com>
Date: Fri, 18 Oct 2024 08:15:18 +0000
From: Chen Ridong <chenridong@...weicloud.com>
To: tj@...nel.org,
lizefan.x@...edance.com,
hannes@...xchg.org,
longman@...hat.com,
mkoutny@...e.com,
john.fastabend@...il.com,
roman.gushchin@...ux.dev,
quanyang.wang@...driver.com,
ast@...nel.org
Cc: cgroups@...r.kernel.org,
linux-kernel@...r.kernel.org,
bpf@...r.kernel.org,
chenridong@...wei.com,
wangweiyang2@...wei.com
Subject: [PATCH v1 0/2] Only cgroup v2 can be attached by bpf programs
From: Chen Ridong <chenridong@...wei.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
Powered by blists - more mailing lists