Thread (3 messages) 3 messages, 3 authors, 2026-06-22

Re: [PATCH bpf] bpf: zero-initialize the fib lookup flow struct

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-06-22 01:10:25
Also in: bpf, lkml

Hello:

This patch was applied to bpf/bpf.git (master)
by Alexei Starovoitov [off-list ref]:

On Thu, 18 Jun 2026 04:17:19 +0530 you wrote:
bpf_ipv4_fib_lookup() and bpf_ipv6_fib_lookup() build the flow key on
the stack with a bare "struct flowi4 fl4;" / "struct flowi6 fl6;" and
fill it field by field, but never set flowi4_l3mdev / flowi6_l3mdev.

On the non-DIRECT path the lookup goes through the fib rules whenever the
netns has custom rules, which a VRF installs:

[...]
Here is the summary with links:
  - [bpf] bpf: zero-initialize the fib lookup flow struct
    https://git.kernel.org/bpf/bpf/c/0dfcb68a6a5a

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help