diff options
author | Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> | 2014-11-09 23:56:29 +0100 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2014-11-11 07:37:44 +0100 |
commit | 4f48795b6154852d07d971e402c35ecc460ddcb6 (patch) | |
tree | 65ae9d457d88034c8105d1a94082653b90ca88d2 /kernel/time | |
parent | Linux 3.18-rc3 (diff) | |
download | linux-4f48795b6154852d07d971e402c35ecc460ddcb6.tar.xz linux-4f48795b6154852d07d971e402c35ecc460ddcb6.zip |
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>
Diffstat (limited to 'kernel/time')
0 files changed, 0 insertions, 0 deletions