Re: [PATCH net v1 0/2] bonding: fix missing XDP compat check on xmit_hash_policy change
From: patchwork-bot+netdevbpf
Date: Tue Mar 03 2026 - 05:01:35 EST
Hello:
This series was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
On Thu, 26 Feb 2026 16:03:00 +0800 you wrote:
> syzkaller reported a bug https://syzkaller.appspot.com/bug?extid=5a287bcdc08104bc3132
>
> When a bond device is in 802.3ad or balance-xor mode, XDP is supported
> only when xmit_hash_policy != vlan+srcmac. This constraint is enforced
> in bond_option_mode_set() via bond_xdp_check(), which prevents switching
> to an XDP-incompatible mode while a program is loaded. However, the
> symmetric path -- changing xmit_hash_policy while XDP is loaded -- had
> no such guard in bond_option_xmit_hash_policy_set().
>
> [...]
Here is the summary with links:
- [net,v1,1/2] bpf/bonding: reject vlan+srcmac xmit_hash_policy change when XDP is loaded
https://git.kernel.org/netdev/net/c/479d589b40b8
- [net,v1,2/2] selftests/bpf: add test for xdp_bonding xmit_hash_policy compat
https://git.kernel.org/netdev/net/c/181cafbd8a01
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html