• R
    module: simplify load_module. · 5e458cc0
    Rusty Russell 提交于
    Linus' recent catch of stack overflow in load_module lead me to look
    at the code.  A couple of helpers to get a section address and get
    objects from a section can help clean things up a little.
    
    (And in case you're wondering, the stack size also dropped from 328 to
    284 bytes).
    Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
    5e458cc0
module.h 16.5 KB