Re: [PATCH bpf v2] bpf: remove unnecessary BTF lookups in bpf_sk_storage_tracing_allowed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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






[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux