• R
    module: refactor load_module part 4 · 9f85a4bb
    Rusty Russell 提交于
    Allocate references inside module_unload_init(), clean up inside
    module_unload_free().
    
    This version fixed to do allocation before __this_cpu_write, thanks to
    bug reports from linux-next from Dave Young <hidave.darkstar@gmail.com>
    and Stephen Rothwell <sfr@canb.auug.org.au>.
    Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
    9f85a4bb
module.c 81.7 KB