mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1 0/2] Only cgroup v2 can be attached by bpf programs
@ 2024-10-18  8:15 Chen Ridong
  2024-10-18  8:15 ` [PATCH v1 1/2] Revert "cgroup: Fix memory leak caused by missing cgroup_bpf_offline" Chen Ridong
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Chen Ridong @ 2024-10-18  8:15 UTC (permalink / raw)
  To: tj, lizefan.x, hannes, longman, mkoutny, john.fastabend,
	roman.gushchin, quanyang.wang, ast
  Cc: cgroups, linux-kernel, bpf, chenridong, wangweiyang2

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-10-21 20:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-18  8:15 [PATCH v1 0/2] Only cgroup v2 can be attached by bpf programs Chen Ridong
2024-10-18  8:15 ` [PATCH v1 1/2] Revert "cgroup: Fix memory leak caused by missing cgroup_bpf_offline" Chen Ridong
2024-10-18  8:15 ` [PATCH v1 2/2] cgroup/bpf: only cgroup v2 can be attached by bpf programs Chen Ridong
2024-10-21 20:03 ` [PATCH v1 0/2] Only " Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®