Re: [PATCH 1/3] net: tftp: Fix tftp_prev_block counter update

2020-10-01 Thread Tom Rini
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 n

Re: [PATCH 1/3] net: tftp: Fix tftp_prev_block counter update

2020-09-12 Thread Ramon Fried
On Tue, Aug 25, 2020 at 5:27 AM 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

[PATCH 1/3] net: tftp: Fix tftp_prev_block counter update

2020-08-24 Thread Ley Foon Tan
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 l