Re: [PATCH net] net: lib8390: avoid truncating the expected receive page

From: patchwork-bot+netdevbpf

Date: Sat Nov 21 2026 - 16:10:17 EST


Hello:

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

On Tue, 17 Nov 2026 21:22:17 -0500 you wrote:
> For a receive ring ending at page 0xff, the expected next page can
> exceed 0xff before the ring size is subtracted. The value is
> truncated when stored in an unsigned char, so a valid frame that
> wraps around the ring can be rejected and queued frames dropped.
> Store the intermediate value in an int.
>
> This was observed with the 64 KiB receive ring enabled on a
> Farallon EtherMac LC-TP. With the fix, three 16 MiB downloads on a
> Performa 6200CD using a kernel with local platform support completed
> without receive errors. The pcnet_cs driver also uses a receive ring
> ending at page 0xff for Socket EA cards with the large buffer enabled.
>
> [...]

Here is the summary with links:
- [net] net: lib8390: avoid truncating the expected receive page
https://git.kernel.org/netdev/net-next/c/720a6f58c0ba

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