On Sun, 20 Sep 2026 16:26:10 +0800, Mingtian Li wrote:
> RFC 768 requires that when the UDP payload has an odd length, the last
> byte is padded with a zero low byte for the checksum calculation, i.e. it
> must be added as (byte << 8) only.
>
> Since commit 8524423da9af ("net: avoid address-of-packed-member error")
> the byte is added twice:
>
> [...]
Applied to u-boot-net branch for-next, thanks!
[1/1] net: fix UDP checksum check for odd-length packets
commit: 5e251bfba7177db917e91a9c8a43bc0732113ed2
Best regards,
--
Jerome Forissier <[email protected]>