Andrii Nakryiko wrote:
> __module_address() needs to be called with preemption disabled or with
> module_mutex taken. preempt_disable() is enough for read-only uses, which is
> what this fix does. Also, module_put() does internal check for NULL, so drop
> it as well.
>
> Fixes: a38d1107f937 ("bpf: support raw tracepoints in modules")
> Acked-by: Martin KaFai Lau <[email protected]>
> Signed-off-by: Andrii Nakryiko <[email protected]>
> ---Acked-by: John Fastabend <[email protected]>
