summaryrefslogtreecommitdiff
path: root/bpfc.c
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2015-11-22 21:09:36 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-11-24 10:21:47 +0100
commitab2bb70f5044e6e784071cf036a8d3db63d3e6eb (patch)
tree2beb14e7c52a4deaa03a8d52c3a8ecb59e8d34f3 /bpfc.c
parent697a000d5d8e7b329f9cd71f3ffd391297b78859 (diff)
cpp: Add cpp.c module to invoke C preprocessor
Add cpp_exec func to invoke C preprocessor which allow to change the logic in one place only. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'bpfc.c')
0 files changed, 0 insertions, 0 deletions
ciated kernfs_node and if a subsystem makes the new cgroup_subsys_state visible, which they're allowed to after onlining, it can lead to NULL dereference. The current code performs cgroup creation and subsystem onlining in cgroup_create() and cgroup_mkdir() makes the cgroup and subsystems visible afterwards. There's no reason to online the subsystems early and we can simply drop cgroup_apply_control_enable() call from cgroup_create() so that the subsystems are onlined and made visible at the same time. Signed-off-by: Tejun Heo <tj@kernel.org> Reported-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru> Fixes: a5bca2152036 ("cgroup: factor out cgroup_create() out of cgroup_mkdir()") Cc: stable@vger.kernel.org # v4.6+
Diffstat (limited to 'tools/usb')