diff --git a/kernel/module.c b/kernel/module.c index cc79c942c572c872d3e68c8d656563e2620fe0e4..496dcb57b608e0e6c60ebc5a1be002761bdf66a2 100644 --- a/kernel/module.c +++ b/kernel/module.c @@ -2352,6 +2352,8 @@ sys_init_module(void __user *umod, /* Now it's a first class citizen! Wake up anyone waiting for it. */ mod->state = MODULE_STATE_LIVE; wake_up(&module_wq); + blocking_notifier_call_chain(&module_notify_list, + MODULE_STATE_LIVE, mod); mutex_lock(&module_mutex); /* Drop initial reference. */