projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'turbostat' of https://git.kernel.org/pub/scm/linux/kernel/git/lenb...
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
module.c
diff --git
a/kernel/module.c
b/kernel/module.c
index 3e0e19763d246a998acb109c6979e4df593e3958..4d2b82e610e2a48f429a700f0529d6dc5942700a 100644
(file)
--- a/
kernel/module.c
+++ b/
kernel/module.c
@@
-3557,6
+3557,7
@@
static int load_module(struct load_info *info, const char __user *uargs,
mutex_lock(&module_mutex);
/* Unlink carefully: kallsyms could be walking list. */
list_del_rcu(&mod->list);
+ mod_tree_remove(mod);
wake_up_all(&module_wq);
/* Wait for RCU-sched synchronizing before releasing mod->list. */
synchronize_sched();