Subject: Re: [PATCH net-next v1] net: mvneta: Avoid the misuse of the '_t' variants

From: Jakub Kicinski <[email-masked]>
Date: Fri, 6 Sep 2024 18:55:46 -0700

On Thu,  5 Sep 2024 14:36:45 +0800 Yan Zhen wrote:
> In this case if someone tries to set the tx_pending to 65536(0x10000),
> after forcing it to convert to u16, it becomes 0x0000, they will get
> the minimum supported size and not the maximum.

Core validates against tx_max_pending before calling the driver.
-- 
pw-bot: reject