Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
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