Subject: Re: [PATCH v2 bpf-next 03/14] bpf: Support bpf program calling kernel function

From: Toke Høiland-Jørgensen <[email-masked]>
Date: Thu, 25 Mar 2021 23:02:23 +0100

Martin KaFai Lau <[email-masked]> writes:

> This patch adds support to BPF verifier to allow bpf program calling
> kernel function directly.

Hi Martin

This is exciting stuff! :)

Just one quick question about this:

> [ For the future calling function-in-kernel-module support, an array
>   of module btf_fds can be passed at the load time and insn->off
>   can be used to index into this array. ]

Is adding the support for extending this to modules also on your radar,
or is this more of an "in case someone needs it" comment? :)

-Toke