The block returned from Mtftp4RemoveBlockNum 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...@intel.com>
Cc: Fu Siyuan <siyuan...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Wu Jiaxin <jiaxin...@intel.com>

Jiaxin Wu (2):
  MdeModulePke/Mtftp4Dxe: Correct the total received and saved block
    number.
  NetworkPkg/Mtftp6Dxe: Correct the total received and saved block
    number.

 .../Universal/Network/Mtftp4Dxe/Mtftp4Impl.h     |  6 +++++-
 .../Universal/Network/Mtftp4Dxe/Mtftp4Rrq.c      | 16 +++++++++++-----
 .../Universal/Network/Mtftp4Dxe/Mtftp4Support.c  | 10 +++++-----
 .../Universal/Network/Mtftp4Dxe/Mtftp4Support.h  |  6 +++---
 .../Universal/Network/Mtftp4Dxe/Mtftp4Wrq.c      |  6 +++---
 NetworkPkg/Mtftp6Dxe/Mtftp6Impl.h                |  6 +++++-
 NetworkPkg/Mtftp6Dxe/Mtftp6Rrq.c                 | 16 +++++++++++-----
 NetworkPkg/Mtftp6Dxe/Mtftp6Support.c             | 10 +++++-----
 NetworkPkg/Mtftp6Dxe/Mtftp6Support.h             |  8 ++++----
 NetworkPkg/Mtftp6Dxe/Mtftp6Wrq.c                 |  6 +++---
 10 files changed, 55 insertions(+), 35 deletions(-)

-- 
2.17.1.windows.2

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to