[PATCH] net: tftp: Fix for DATA ACK for block count out of order
Tom Rini
trini at konsulko.com
Fri Feb 3 19:20:25 CET 2023
On Wed, Jan 04, 2023 at 06:16:26PM -0800, seanedmond at linux.microsoft.com wrote:
> From: Sean Edmond <seanedmond at linux.microsoft.com>
>
> In rfc7440, if an ACK is not received by the server or if the
> last data block in a window is dropped, the server will timeout and
> retransmit the window. In this case, the block count received will be
> less than the internal block count. In this case, the client
> should not ACK. ACK should only be sent if the received block
> count is greater than the expected block count.
>
> Signed-off-by: Sean Edmond <seanedmond at linux.microsoft.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/20230203/af48c08e/attachment.sig>
More information about the U-Boot
mailing list