From: Sergey Vlasov Date: Fri, 24 Mar 2006 11:18:38 +0000 (-0800) Subject: [PATCH] Fix module refcount leak in __set_personality() X-Git-Tag: v2.6.17-rc1~872 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a4d11c2abc57ed7ca42041e5f68ae4f7f640a81;p=pandora-kernel.git [PATCH] Fix module refcount leak in __set_personality() If the change of personality does not lead to change of exec domain, __set_personality() returned without releasing the module reference acquired by lookup_exec_domain(). Signed-off-by: Sergey Vlasov Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed