On Tue, Aug 25, 2020 at 10:26:35AM +0800, Ley Foon Tan wrote:

> Fixes missing update to tftp_prev_block counter before increase
> tftp_cur_block counter when do the tftpput operation.
> 
> tftp_prev_block counter is used in update_block_number() function to
> check whether block number (sequence number) is rollover. This bug
> cause the tftpput command fail to upload a large file when block
> number is greater than 16-bit (0xFFFF).
> 
> Signed-off-by: Ley Foon Tan <[email protected]>
> Reviewed-By: Ramon Fried <[email protected]>

Applied to u-boot/next, thanks!

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to