Re: [PATCH net-next v4] selftests: bonding: add test for stacked bond header_parse recursion
From: patchwork-bot+netdevbpf
Date: Mon Mar 23 2026 - 22:40:31 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Fri, 20 Mar 2026 10:22:39 +0800 you wrote:
> From: Jiayuan Chen <jiayuan.chen@xxxxxxxxxx>
>
> Add a selftest to reproduce the infinite recursion in bond_header_parse()
> when bonds are stacked (bond1 -> bond0 -> gre). When a packet is received
> via AF_PACKET SOCK_DGRAM on the topmost bond, dev_parse_header() calls
> bond_header_parse() which used skb->dev (always the topmost bond) to get
> the bonding struct. This caused it to recurse back into itself
> indefinitely, leading to stack overflow.
>
> [...]
Here is the summary with links:
- [net-next,v4] selftests: bonding: add test for stacked bond header_parse recursion
https://git.kernel.org/netdev/net-next/c/e81cf512c1bd
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html