Re: [PATCH v5] btf: reject to register duplicated kfunc

From: patchwork-bot+netdevbpf

Date: Fri Jun 05 2026 - 11:26:44 EST


Hello:

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

On Wed, 3 Jun 2026 17:19:10 +0800 you wrote:
> I had an ebpf program which calls a kfunc defined and
> implemented in one of my kernel modules, it was working
> fine in 6.16, but was rejected to run by libbpf in 6.19,
> the error message was:
>
> libbpf: extern (func ksym) 'bpf_strstr': func_proto [5]
> incompatible with vmlinux [94389]
>
> [...]

Here is the summary with links:
- [v5] btf: reject to register duplicated kfunc
https://git.kernel.org/bpf/bpf-next/c/27ffbfd14d77

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html