Commit 5bc9557
bpf: Mark cgroup_subsys_state->cgroup RCU safe
Mark struct cgroup_subsys_state->cgroup as safe under RCU read lock. This
will enable accessing css->cgroup from a bpf css iterator.
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/20250623063854.1896364-4-song@kernel.org
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>1 parent b95ee90 commit 5bc9557
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6993 | 6993 | | |
6994 | 6994 | | |
6995 | 6995 | | |
| 6996 | + | |
| 6997 | + | |
| 6998 | + | |
| 6999 | + | |
6996 | 7000 | | |
6997 | 7001 | | |
6998 | 7002 | | |
| |||
7043 | 7047 | | |
7044 | 7048 | | |
7045 | 7049 | | |
| 7050 | + | |
7046 | 7051 | | |
7047 | 7052 | | |
7048 | 7053 | | |
| |||
0 commit comments