Re: [PATCH net] net/mlx5e: fix swapped IPv6 IPsec policy masks
From: patchwork-bot+netdevbpf
Date: Mon Sep 21 2026 - 20:41:50 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Thu, 17 Sep 2026 13:55:42 +0200 you wrote:
> IPv6 XFRM policies may use different source and destination prefix
> lengths. mlx5e_ipsec_policy_mask() builds the corresponding masks
> independently, but setup_fte_addr6() installs each mask in the opposite
> address field.
>
> When the prefix lengths differ, this makes the source match use the
> destination prefix and the destination match use the source prefix. The
> resulting hardware rule can both miss traffic covered by the policy and
> match traffic outside it.
>
> [...]
Here is the summary with links:
- [net] net/mlx5e: fix swapped IPv6 IPsec policy masks
https://git.kernel.org/netdev/net/c/10de7ed8ef48
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html