Re: [PATCH HID for-next v2 9/9] HID: bpf: reorder BPF registration

From: Alexei Starovoitov
Date: Sun Jan 15 2023 - 13:01:08 EST


On Fri, Jan 13, 2023 at 10:09:35AM +0100, Benjamin Tissoires wrote:
> Given that our initial BPF program is not using any kfuncs anymore,
> we can reorder the initialization to first try to load it and then
> register the kfuncs. This has the advantage of not exporting kfuncs
> when HID-BPF is not working.
>
> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>

Acked-by: Alexei Starovoitov <ast@xxxxxxxxxx>