From: Catalin Marinas Date: Wed, 29 Jul 2009 15:26:57 +0000 (+0100) Subject: kmemleak: Protect the seq start/next/stop sequence by rcu_read_lock() X-Git-Tag: v2.6.31-rc5~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5886c7f96f2542382d3a983c5f13e03d7fc5259;p=pandora-kernel.git 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 Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed