From: Cedric Le Goater Date: Mon, 2 Oct 2006 09:18:09 +0000 (-0700) Subject: [PATCH] namespaces: exit_task_namespaces() invalidates nsproxy X-Git-Tag: v2.6.19-rc1~415 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fab413a334a7b3dd2688c5cd5d4718476e430ea4;p=pandora-kernel.git [PATCH] namespaces: exit_task_namespaces() invalidates nsproxy exit_task_namespaces() has replaced the former exit_namespace(). It invalidates task->nsproxy and associated namespaces. This is an issue for the (futur) pid namespace which is required to be valid in exit_notify(). This patch moves exit_task_namespaces() after exit_notify() to keep nsproxy valid. Signed-off-by: Cedric Le Goater Cc: Serge E. Hallyn Cc: Kirill Korotaev Cc: "Eric W. Biederman" Cc: Herbert Poetzl Cc: Andrey Savochkin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed