Skip to content
Commit 6dd06c9f authored by Rusty Russell's avatar Rusty Russell
Browse files

module: make module_address_lookup safe



module_address_lookup releases preemption then returns a pointer into
the module space.  The only user (kallsyms) copies the result, so just
do that under the preempt disable.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent bb9d3d56
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment