Re: [PATCH bpf-next v5 1/2] bpf: Search and add kfuncs in struct_ops prologue and epilogue

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

 



Hello:

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

On Tue, 25 Feb 2025 15:35:44 -0800 you wrote:
> From: Amery Hung <amery.hung@xxxxxxxxxxxxx>
> 
> Currently, add_kfunc_call() is only invoked once before the main
> verification loop. Therefore, the verifier could not find the
> bpf_kfunc_btf_tab of a new kfunc call which is not seen in user defined
> struct_ops operators but introduced in gen_prologue or gen_epilogue
> during do_misc_fixup(). Fix this by searching kfuncs in the patching
> instruction buffer and add them to prog->aux->kfunc_tab.
> 
> [...]

Here is the summary with links:
  - [bpf-next,v5,1/2] bpf: Search and add kfuncs in struct_ops prologue and epilogue
    https://git.kernel.org/bpf/bpf-next/c/d519594ee244
  - [bpf-next,v5,2/2] selftests/bpf: Test gen_pro/epilogue that generate kfuncs
    https://git.kernel.org/bpf/bpf-next/c/4e4136c64467

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