Re: [PATCH net v4] tipc: fix u16 MTU truncation in media and bearer MTU validation
From: Andrew Lunn
Date: Fri Jul 10 2026 - 12:35:22 EST
On Thu, Jul 09, 2026 at 05:16:49PM -0400, Cen Zhang (Microsoft) wrote:
> Both TIPC_NL_MEDIA_SET and TIPC_NL_BEARER_SET accept user-supplied
> MTU values but only enforce a minimum bound, not a maximum.
I don't know the tipc code at all..
Can this be piped through netif_set_mtu()? It will call
dev_validate_mtu() which will validate the MTU against dev->min_mtu
and dev->max_mtu.
Andrew