Hello:
This series was applied to bpf/bpf-next.git (net)
by Martin KaFai Lau [off-list ref]:
On Sun, 29 Mar 2026 11:04:27 -0700 you wrote:
Commit ba9db6f907ac ("net: clear the dst when changing skb protocol")
added dst clearing when a BPF program changes the skb protocol
(e.g. IPv4 to IPv6). Since that was a fix we only cleared the dst when
the L3 protocol actually changes to keep it minimal. As suggested during
the discussion (see Link) encap or decap operation which wraps or unwraps
a same-protocol header may also render the existing dst incorrect - even
if that doesn't result in a crash, just the wrong route for the now-outermost
IP dst.
[...]
Here is the summary with links:
- [bpf-next,v2,1/2] net: clear the dst when performing encap / decap
https://git.kernel.org/bpf/bpf-next/c/648c1bc05997
- [bpf-next,v2,2/2] selftests/bpf: test that dst is cleared on same-protocol encap
https://git.kernel.org/bpf/bpf-next/c/660735c4182c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html