Re: [PATCH net v4] net: reduce XMIT_RECURSION_LIMIT under KASAN

From: patchwork-bot+netdevbpf

Date: Fri Sep 04 2026 - 19:11:49 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Wed, 2 Sep 2026 12:30:40 +0000 you wrote:
> From: Tristan Madani <tristan@xxxxxxxxxxxxxxxxxxx>
>
> Virtual network devices (ipvlan, macvlan, bonding) can enter legitimate
> transmit recursion when combined with packet forwarding configurations
> such as IPVS NAT. The existing XMIT_RECURSION_LIMIT (8) in
> __dev_queue_xmit() detects and breaks these loops, but the allowed
> depth is too high for KASAN-instrumented kernels: each recursion level
> consumes significantly more stack due to KASAN inline instrumentation,
> and the cumulative usage overflows the kernel stack before the limit
> fires.
>
> [...]

Here is the summary with links:
- [net,v4] net: reduce XMIT_RECURSION_LIMIT under KASAN
https://git.kernel.org/netdev/net-next/c/7f1de03e3103

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