From: Peter Zijlstra Date: Wed, 8 Jul 2015 21:18:06 +0000 (+0930) Subject: module: Fix load_module() error path X-Git-Tag: omap-for-v4.2/fixes-rc2-v2~32^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=758556bdc1c8a8dffea0ea9f9df891878cc2468c;p=pandora-kernel.git module: Fix load_module() error path The load_module() error path frees a module but forgot to take it out of the mod_tree, leaving a dangling entry in the tree, causing havoc. Cc: Mathieu Desnoyers Reported-by: Arthur Marsh Tested-by: Arthur Marsh Fixes: 93c2e105f6bc ("module: Optimize __module_address() using a latched RB-tree") Signed-off-by: Peter Zijlstra (Intel) Signed-off-by: Rusty Russell --- Reading git-diff-tree failed