[PATCH v2] net: recv(): return -EAGAIN instead of 0 when no cleanup is expected
Tom Rini
trini at konsulko.com
Mon Oct 28 00:11:12 CET 2024
On Wed, 09 Oct 2024 11:42:08 +0200, Jerome Forissier wrote:
> Some drivers do not behave properly when free_pkt() is called with a
> length of zero. It is an issue I observed when developing the lwIP
> series [1] (see "QEMU CI tests for r2dplus_i82557c, r2dplus_rtl8139"
> in the change log) and which I fixed incorrectly by not calling
> free_pkt() when recv() returns 0. That turned out to be wrong for two
> reasons:
>
> [...]
Applied to u-boot/master, thanks!
--
Tom
More information about the U-Boot
mailing list