[PATCH] net: tftp: Fix incorrect tftp_next_ack on no OACK

Tom Rini trini at konsulko.com
Tue Jan 19 21:01:00 CET 2021


On Fri, Nov 27, 2020 at 09:45:56PM +0000, Harm Berntsen wrote:

> When the tftp server did not send any OACK, the tftp_next_ack variable
> was not set to the correct value . As the server was transmitting 
> blocks we generated a lot of 'Received unexpected block: $n, expected 
> $n+1' error messages. Depending on the timeout setting the transfer 
> could still complete though.
> 
> Signed-off-by: Harm Berntsen <harm.berntsen at nedap.com>
> CC: Ramon Fried <rfried.dev at gmail.com>
> Reviewed-By: Ramon Fried <rfried.dev at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210119/e99710bb/attachment.sig>


More information about the U-Boot mailing list