summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2009-07-29 17:26:57 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-07-29 21:34:58 +0200
commitf5886c7f96f2542382d3a983c5f13e03d7fc5259 (patch)
tree75c5e09bdd8726fa3fa0c2cc3b764d523e5160f2 /scripts
parentMerge branch 'drm-radeon-kms' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff)
downloadlinux-f5886c7f96f2542382d3a983c5f13e03d7fc5259.tar.xz
linux-f5886c7f96f2542382d3a983c5f13e03d7fc5259.zip
kmemleak: Protect the seq start/next/stop sequence by rcu_read_lock()
Objects passed to kmemleak_seq_next() have an incremented reference count (hence not freed) but they may point via object_list.next to other freed objects. To avoid this, the whole start/next/stop sequence must be protected by rcu_read_lock(). Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions