[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <225be034-3d54-b3e9-99e2-b5f5d4f3e0a7@iogearbox.net>
Date: Tue, 28 May 2019 11:24:40 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: Yonghong Song <yhs@...com>, bpf@...r.kernel.org,
netdev@...r.kernel.org
Cc: Alexei Starovoitov <ast@...com>, kernel-team@...com
Subject: Re: [PATCH bpf-next] bpf: check signal validity in nmi for
bpf_send_signal() helper
On 05/25/2019 08:57 PM, Yonghong Song wrote:
> Commit 8b401f9ed244 ("bpf: implement bpf_send_signal() helper")
> introduced bpf_send_signal() helper. If the context is nmi,
> the sending signal work needs to be deferred to irq_work.
> If the signal is invalid, the error will appear in irq_work
> and it won't be propagated to user.
>
> This patch did an early check in the helper itself to
> notify user invalid signal, as suggested by Daniel.
>
> Signed-off-by: Yonghong Song <yhs@...com>
Applied, thanks!
Powered by blists - more mailing lists