Re: [PATCH bpf v2 0/3] Fix caching of BTF for kfuncs in the verifier

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

 



Hello:

This series was applied to bpf/bpf.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Thu, 10 Oct 2024 15:27:06 +0200 you wrote:
> When playing around with defining kfuncs in some custom modules, we
> noticed that if a BPF program calls two functions with the same
> signature in two different modules, the function from the wrong module
> may sometimes end up being called. Whether this happens depends on the
> order of the calls in the BPF program, which turns out to be due to the
> use of sort() inside __find_kfunc_desc_btf() in the verifier code.
> 
> [...]

Here is the summary with links:
  - [bpf,v2,1/3] bpf: fix kfunc btf caching for modules
    https://git.kernel.org/bpf/bpf/c/6cb86a0fdece
  - [bpf,v2,2/3] selftests/bpf: Provide a generic [un]load_module helper
    https://git.kernel.org/bpf/bpf/c/4192bb294f80
  - [bpf,v2,3/3] selftests/bpf: Add test for kfunc module order
    https://git.kernel.org/bpf/bpf/c/f91b256644ea

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