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 <kafai@xxxxxx> > Signed-off-by: Andrii Nakryiko <andrii@xxxxxxxxxx> > --- Acked-by: John Fastabend <john.fastabend@xxxxxxxxx>