From: Oleg Nesterov Date: Fri, 29 Jul 2011 01:26:32 +0000 (-0700) Subject: proc_fork_connector: a lockless ->real_parent usage is not safe X-Git-Tag: v3.1-rc1~24^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e8f90dfe58eb19140bc66655170c7aef9eadbf2;p=pandora-kernel.git proc_fork_connector: a lockless ->real_parent usage is not safe proc_fork_connector() uses ->real_parent lockless. This is not safe if copy_process() was called with CLONE_THREAD or CLONE_PARENT, in this case the parent != current can go away at any moment. Signed-off-by: Oleg Nesterov Cc: Vladimir Zapolskiy Cc: "David S. Miller" Cc: Evgeniy Polyakov Cc: Evgeniy Polyakov Signed-off-by: Andrew Morton Signed-off-by: David S. Miller --- Reading git-diff-tree failed