[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110728.182705.1674417841277333408.davem@davemloft.net>
Date: Thu, 28 Jul 2011 18:27:05 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: akpm@...ux-foundation.org
Cc: netdev@...r.kernel.org, oleg@...hat.com, johnpol@....mipt.ru,
vzapolskiy@...il.com, zbr@...emap.net
Subject: Re: [patch 2/2] proc_fork_connector: a lockless ->real_parent
usage is not safe
From: akpm@...ux-foundation.org
Date: Thu, 28 Jul 2011 13:54:25 -0700
> From: Oleg Nesterov <oleg@...hat.com>
>
> 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 <oleg@...hat.com>
> Cc: Vladimir Zapolskiy <vzapolskiy@...il.com>
> Cc: "David S. Miller" <davem@...emloft.net>
> Cc: Evgeniy Polyakov <zbr@...emap.net>
> Cc: Evgeniy Polyakov <johnpol@....mipt.ru>
> Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists