diff options
author | Peter Zijlstra <peterz@infradead.org> | 2015-07-09 06:48:06 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2015-07-09 06:57:12 +0930 |
commit | 758556bdc1c8a8dffea0ea9f9df891878cc2468c (patch) | |
tree | 215394779cca168f57e48fda3cf8c91f451a42c8 /lib/percpu_ida.c | |
parent | 45820c294fe1b1a9df495d57f40585ef2d069a39 (diff) |
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 <mathieu.desnoyers@efficios.com>
Reported-by: Arthur Marsh <arthur.marsh@internode.on.net>
Tested-by: Arthur Marsh <arthur.marsh@internode.on.net>
Fixes: 93c2e105f6bc ("module: Optimize __module_address() using a latched RB-tree")
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/percpu_ida.c')
0 files changed, 0 insertions, 0 deletions