Re: [PATCH bpf v2] bpftool: Use libbpf error code for flow dissector query
From: patchwork-bot+netdevbpf
Date: Wed Jun 03 2026 - 18:45:08 EST
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@xxxxxxxxxx>:
On Wed, 3 Jun 2026 09:33:39 +0900 you wrote:
> bpf_prog_query() returns a negative errno on failure.
> query_flow_dissector() currently closes the namespace fd and then reads
> errno to decide whether -EINVAL means that the running kernel does not
> support flow dissector queries.
>
> That errno check controls behavior, not just diagnostics: -EINVAL is
> handled as a non-fatal old-kernel case, while any other error makes bpftool
> net fail.
>
> [...]
Here is the summary with links:
- [bpf,v2] bpftool: Use libbpf error code for flow dissector query
https://git.kernel.org/bpf/bpf-next/c/8a7f2bff2165
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html