[Linux-stm32] [PATCH net v2 0/2] xsk: fix underflow issues in zerocopy xmit

Jason Xing kerneljasonxing at gmail.com
Tue Jul 22 23:07:27 UTC 2025


On Tue, Jul 22, 2025 at 9:51 PM Jason Xing <kerneljasonxing at gmail.com> wrote:
>
> From: Jason Xing <kernelxing at tencent.com>
>
> Fix two underflow issues around {stmmac_xdp|igb}_xmit_zc().
>
> Jason Xing (2):
>   stmmac: xsk: fix underflow of budget in zerocopy mode
>   igb: xsk: solve underflow of nb_pkts in zerocopy mode

Willem has pointed out it's technically not underflow but the negative
overflow[1]. So I decided to send a V3 patch with this modified.

[1]: https://lore.kernel.org/all/687f9d4cf0b14_2aa7cc29443@willemb.c.googlers.com.notmuch/

Thanks,
Jason



More information about the Linux-stm32 mailing list