[PATCH 0/3] net: tftp: Fixes for tftp rollover

Ley Foon Tan ley.foon.tan at intel.com
Tue Aug 25 04:26:34 CEST 2020


This patch series fix the tftp block number rollover bugs
when sending and receiving large file (block number
greater than 16-bit).

Tested receiving and sending large file with block
number greater than 0xffff, verified content
is 100% matched. Tested file size 128MB and 256MB.

Ley Foon Tan (3):
  net: tftp: Fix tftp_prev_block counter update
  net: tftp: Fix store_block offset calculation
  net: tftp: Fix load_block offset calculation

 net/tftp.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

-- 
2.19.0



More information about the U-Boot mailing list