summaryrefslogtreecommitdiff
path: root/dissector_80211.h
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2017-12-17 23:25:40 +0200
committerTobias Klauser <tklauser@distanz.ch>2017-12-18 14:48:52 +0100
commit85f3536846adb8da882227b40ddbe0bc91f3ce71 (patch)
treef26d7d4aa5e881759f58b989f4c5dc4bfdc1aea2 /dissector_80211.h
parente207624c6d92e9c2979e1e310cab660f0320ca48 (diff)
flowtop: Use RCU flow deletion from process entry
Use cds_list_del_rcu for safer deletion flow from the process flow list to prevent possible use-after-free by UI thread when it is refreshing the processes. It may fix the #183 issue. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'dissector_80211.h')
0 files changed, 0 insertions, 0 deletions
ew 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/power/cpupower/lib/cpuidle.h')