diff options
author | 2021-11-27 14:59:19 +0000 | |
---|---|---|
committer | 2021-11-29 07:39:01 -1000 | |
commit | 8291471ea5f1b2e6782cbb9c6ed785f12435245f (patch) | |
tree | 8d966e63176f47bd01b9a8eedac803d87a8ca986 /scripts/gdb/linux/utils.py | |
parent | cgroup: rstat: Mark benign data race to silence KCSAN (diff) | |
download | wireguard-linux-8291471ea5f1b2e6782cbb9c6ed785f12435245f.tar.xz wireguard-linux-8291471ea5f1b2e6782cbb9c6ed785f12435245f.zip |
cgroup: get the wrong css for css_alloc() during cgroup_init_subsys()
css_alloc() needs the parent css, while cgroup_css() gets current
cgropu's css. So we are getting the wrong css during
cgroup_init_subsys().
Fortunately, cgrp_dfl_root.cgrp's css is not set yet, so the value we
pass to css_alloc() is NULL anyway.
Let's pass NULL directly during init, since we know there is no parent
yet.
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions