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 <ka...@fb.com>
> Signed-off-by: Andrii Nakryiko <and...@kernel.org>
> ---

Acked-by: John Fastabend <john.fastab...@gmail.com>

Reply via email to