[PATCH 1/1] net: wget: fix TCP sequence number wrap around issue

Fabio Estevam festevam at gmail.com
Mon Apr 15 16:06:40 CEST 2024


Hi Yasuharu,

On Mon, Apr 15, 2024 at 10:01 AM Yasuharu Shibata
<yasuharu.shibata at gmail.com> wrote:
>
> If tcp_seq_num is wrap around, tcp_seq_num >= initial_data_seq_num
> isn't satisfied and store_block() isn't called.
> The condition has a wrap around issue, so it is fixed in this patch.
>
> Signed-off-by: Yasuharu Shibata <yasuharu.shibata at gmail.com>

Great work!

I applied your previous patch:
https://lore.kernel.org/u-boot/20240414104607.5966-1-yasuharu.shibata@gmail.com/

and this one against top-of-tree U-Boot and I no longer observe the
wget corruption.

Reported-by: Tim Harvey <tharvey at gateworks.com>
Tested-by: Fabio Estevam <festevam at denx.de>

Thanks a lot for fixing this long-standing wget bug.

Cheers,

Fabio Estevam


More information about the U-Boot mailing list