[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165462463712.11355.13615369109121225276.git-patchwork-notify@kernel.org>
Date: Tue, 07 Jun 2022 17:57:17 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Toke Høiland-Jørgensen <toke@...hat.com>@ci.codeaurora.org
Cc: ast@...nel.org, daniel@...earbox.net, andrii@...nel.org,
kafai@...com, songliubraving@...com, yhs@...com,
john.fastabend@...il.com, kpsingh@...nel.org, memxor@...il.com,
simon.sundberg@....se, netdev@...r.kernel.org, bpf@...r.kernel.org
Subject: Re: [PATCH bpf v2 1/2] bpf: Fix calling global functions from
BPF_PROG_TYPE_EXT programs
Hello:
This series was applied to bpf/bpf.git (master)
by Alexei Starovoitov <ast@...nel.org>:
On Mon, 6 Jun 2022 09:52:51 +0200 you wrote:
> The verifier allows programs to call global functions as long as their
> argument types match, using BTF to check the function arguments. One of the
> allowed argument types to such global functions is PTR_TO_CTX; however the
> check for this fails on BPF_PROG_TYPE_EXT functions because the verifier
> uses the wrong type to fetch the vmlinux BTF ID for the program context
> type. This failure is seen when an XDP program is loaded using
> libxdp (which loads it as BPF_PROG_TYPE_EXT and attaches it to a global XDP
> type program).
>
> [...]
Here is the summary with links:
- [bpf,v2,1/2] bpf: Fix calling global functions from BPF_PROG_TYPE_EXT programs
https://git.kernel.org/bpf/bpf/c/f858c2b2ca04
- [bpf,v2,2/2] selftests/bpf: Add selftest for calling global functions from freplace
https://git.kernel.org/bpf/bpf/c/2cf7b7ffdae5
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists