Re: [PATCH net v3] usbnet: cap max_mtu for drivers without bind callback
From: patchwork-bot+netdevbpf
Date: Tue Aug 04 2026 - 21:22:57 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Fri, 31 Jul 2026 11:27:11 +0200 you wrote:
> usbnet_probe() initializes max_mtu to ETH_MAX_MTU and only caps it
> inside the if (info->bind) block. Drivers without a bind callback
> never enter this block, so max_mtu stays at ETH_MAX_MTU.
>
> QEMU's usb-net device (0x0525/0xa4a2) is claimed by the cdc_subset
> driver which has no bind callback. The guest accepts any MTU from DHCP
> (e.g. 65520 from passt), leading to TCP segments that exceed the
> device's 2048-byte receive buffer and are silently dropped.
>
> [...]
Here is the summary with links:
- [net,v3] usbnet: cap max_mtu for drivers without bind callback
https://git.kernel.org/netdev/net/c/1505b2cb6ae1
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html