[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201120175545.c6y7wuj3v5icxrq7@kafai-mbp.dhcp.thefacebook.com>
Date: Fri, 20 Nov 2020 09:55:45 -0800
From: Martin KaFai Lau <kafai@...com>
To: Andrii Nakryiko <andrii@...nel.org>
CC: <bpf@...r.kernel.org>, <netdev@...r.kernel.org>, <ast@...com>,
<daniel@...earbox.net>, <kernel-team@...com>
Subject: Re: [PATCH bpf-next 1/6] bpf: fix bpf_put_raw_tracepoint()'s use of
__module_address()
On Thu, Nov 19, 2020 at 03:22:39PM -0800, 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.
Acked-by: Martin KaFai Lau <kafai@...com>
Powered by blists - more mailing lists