Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux

Pull module fix from Rusty Russell:
"Nasty potential bug if someone uses a known module param with an
invalid value (we don't fail unknown module params any more, just
warn)"

* tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux:
module: Clean up ro/nx after early module load failures

+5
+5
kernel/module.c
··· 3304 3304 mutex_lock(&module_mutex); 3305 3305 module_bug_cleanup(mod); 3306 3306 mutex_unlock(&module_mutex); 3307 + 3308 + /* we can't deallocate the module until we clear memory protection */ 3309 + unset_module_init_ro_nx(mod); 3310 + unset_module_core_ro_nx(mod); 3311 + 3307 3312 ddebug_cleanup: 3308 3313 dynamic_debug_remove(info->debug); 3309 3314 synchronize_sched();