git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84210ae
)
kmemleak: Protect the seq start/next/stop sequence by rcu_read_lock()
author
Catalin Marinas
<catalin.marinas@arm.com>
Wed, 29 Jul 2009 15:26:57 +0000
(16:26 +0100)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 29 Jul 2009 19:34:58 +0000
(12:34 -0700)
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>
No differences found