mbox series

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

Message ID 20200825022637.93123-1-ley.foon.tan@intel.com
Headers show
Series net: tftp: Fixes for tftp rollover | expand

Message

Ley Foon Tan Aug. 25, 2020, 2:26 a.m. UTC
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(-)

Comments

Ley Foon Tan Sept. 8, 2020, 1:50 a.m. UTC | #1
> -----Original Message-----
> From: Tan, Ley Foon <ley.foon.tan@intel.com>
> Sent: Tuesday, August 25, 2020 10:27 AM
> To: u-boot@lists.denx.de
> Cc: Joe Hershberger <joe.hershberger@ni.com>; Ley Foon Tan
> <lftan.linux@gmail.com>; See, Chin Liang <chin.liang.see@intel.com>; Tan,
> Ley Foon <ley.foon.tan@intel.com>
> Subject: [PATCH 0/3] net: tftp: Fixes for tftp rollover
> 
> 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(-)

Hi Joe

Any comment for these 3 patches?

Thanks.

Regards
Ley Foon