diff options
author | Catalin Marinas <[email protected]> | 2009-07-29 16:26:57 +0100 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2009-07-29 12:34:58 -0700 |
commit | f5886c7f96f2542382d3a983c5f13e03d7fc5259 (patch) | |
tree | 75c5e09bdd8726fa3fa0c2cc3b764d523e5160f2 /lib/dynamic_debug.c | |
parent | 84210aeb4a6a77de8a3067b121026bad630cd3da (diff) |
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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions