aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/module.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-08 13:19:40 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-08 13:19:40 -0400
commit987aec39a74373c55c3bedd5c3c83896d78fd0a2 (patch)
tree66aba6d4f166f269be95fe4d267d57efe533aefd /kernel/module.c
parent303cda0ea7c1c33701812ccb80d37083a4093c7c (diff)
parentd4a4f75cd8f29cd9464a5a32e9224a91571d6649 (diff)
Merge 4.1-rc7 into driver-core-next
We want the fixes in this branch as well for testing and merge resolution. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/module.c')
-rw-r--r--kernel/module.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/module.c b/kernel/module.c
index ea941bc327d5..869e9d60f424 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -3380,6 +3380,9 @@ static int load_module(struct load_info *info, const char __user *uargs,
3380 module_bug_cleanup(mod); 3380 module_bug_cleanup(mod);
3381 mutex_unlock(&module_mutex); 3381 mutex_unlock(&module_mutex);
3382 3382
3383 blocking_notifier_call_chain(&module_notify_list,
3384 MODULE_STATE_GOING, mod);
3385
3383 /* we can't deallocate the module until we clear memory protection */ 3386 /* we can't deallocate the module until we clear memory protection */
3384 unset_module_init_ro_nx(mod); 3387 unset_module_init_ro_nx(mod);
3385 unset_module_core_ro_nx(mod); 3388 unset_module_core_ro_nx(mod);