commit | 4f48795b6154852d07d971e402c35ecc460ddcb6 | [log] [tgz] |
---|---|---|
author | Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> | Mon Nov 10 09:26:29 2014 +1030 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Tue Nov 11 17:07:44 2014 +1030 |
tree | 65ae9d457d88034c8105d1a94082653b90ca88d2 | |
parent | 0df1f2487d2f0d04703f142813d53615d62a1da4 [diff] |
module: Wait for RCU synchronizing before releasing a module Wait for RCU synchronizing on failure path of module loading before releasing struct module, because the memory of mod->list can still be accessed by list walkers (e.g. kallsyms). Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>