Re: [PATCH bpf v2] bpf: remove unnecessary BTF lookups in bpf_sk_storage_tracing_allowed
From: patchwork-bot+netdevbpf
Date: Thu Jan 23 2025 - 21:00:26 EST
Hello:
This patch was applied to bpf/bpf.git (master)
by Martin KaFai Lau <martin.lau@xxxxxxxxxx>:
On Tue, 21 Jan 2025 06:25:04 -0800 you wrote:
> When loading BPF programs, bpf_sk_storage_tracing_allowed() does a
> series of lookups to get a type name from the program's attach_btf_id,
> making the assumption that the type is present in the vmlinux BTF along
> the way. However, this results in btf_type_by_id() returning a null
> pointer if a non-vmlinux kernel BTF is attached to. Proof-of-concept on
> a kernel with CONFIG_IPV6=m:
>
> [...]
Here is the summary with links:
- [bpf,v2] bpf: remove unnecessary BTF lookups in bpf_sk_storage_tracing_allowed
https://git.kernel.org/bpf/bpf/c/7569fc94ad0e
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html