summaryrefslogtreecommitdiffstats
path: root/lib/decompress_inflate.c
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@cn.fujitsu.com>2009-07-06 10:10:23 +0200
committerIngo Molnar <mingo@elte.hu>2009-07-10 12:14:07 +0200
commita35780005eb256eb5ec83ffcc802967295887a45 (patch)
tree187244378069f3dd02b23e706d10a3054837f3ba /lib/decompress_inflate.c
parenttracing/stat: Add stat_release() callback (diff)
downloadlinux-a35780005eb256eb5ec83ffcc802967295887a45.tar.xz
linux-a35780005eb256eb5ec83ffcc802967295887a45.zip
tracing/workqueues: Add refcnt to struct cpu_workqueue_stats
The stat entries can be freed when the stat file is being read. The worse is, the ptr can be freed immediately after it's returned from workqueue_stat_start/next(). Add a refcnt to struct cpu_workqueue_stats to avoid use-after-free. Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Acked-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Steven Rostedt <rostedt@goodmis.org> LKML-Reference: <4A51B16F.6010608@cn.fujitsu.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib/decompress_inflate.c')
0 files changed, 0 insertions, 0 deletions