NetworkPkg/Mtftp6Dxe: Correct the total received and saved block number.
The block returned from Mtftp6RemoveBlockNum is not the total received and saved block number if it works in passive (Slave) mode. The issue was exposed by the EMS test. Cc: Ye Ting <ting.ye@intel.com> Cc: Fu Siyuan <siyuan.fu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com>
This commit is contained in:
@@ -83,9 +83,13 @@ struct _MTFTP6_INSTANCE {
|
||||
UINT16 WindowSize;
|
||||
|
||||
//
|
||||
// Record the total received block number and the already acked block number.
|
||||
// Record the total received and saved block number.
|
||||
//
|
||||
UINT64 TotalBlock;
|
||||
|
||||
//
|
||||
// Record the acked block number.
|
||||
//
|
||||
UINT64 AckedBlock;
|
||||
|
||||
EFI_IPv6_ADDRESS ServerIp;
|
||||
|
Reference in New Issue
Block a user