Re: [PATCH net-next v1] net: mvneta: Avoid the misuse of the '_t' variants
From: Jakub Kicinski
Date: Fri Sep 06 2024 - 21:55:57 EST
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