module: trim exception table on init free.
[deliverable/linux.git] / kernel / module.c
index 35f7de00bf0db7aad5b4a34e1311e6157764d331..e4ab36ce767222becc860650e0892399ab58b96d 100644 (file)
@@ -2455,6 +2455,7 @@ SYSCALL_DEFINE3(init_module, void __user *, umod,
        mutex_lock(&module_mutex);
        /* Drop initial reference. */
        module_put(mod);
+       trim_init_extable(mod);
        module_free(mod, mod->module_init);
        mod->module_init = NULL;
        mod->init_size = 0;
This page took 0.02433 seconds and 5 git commands to generate.