From: Hillf Danton Date: Wed, 29 Dec 2010 13:55:28 +0000 (+0800) Subject: fix freeing user_struct in user cache X-Git-Tag: v2.6.37~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ef9e11d6867f88951e30db910fa015300e31871;p=pandora-kernel.git fix freeing user_struct in user cache When racing on adding into user cache, the new allocated from mm slab is freed without putting user namespace. Since the user namespace is already operated by getting, putting has to be issued. Signed-off-by: Hillf Danton Acked-by: Serge Hallyn Cc: stable@kernel.org Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed