]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePke/Mtftp4Dxe: Correct the total received and saved block number.
authorJiaxin Wu <Jiaxin.wu@intel.com>
Thu, 25 Oct 2018 07:31:10 +0000 (15:31 +0800)
committerJiaxin Wu <Jiaxin.wu@intel.com>
Mon, 29 Oct 2018 00:31:10 +0000 (08:31 +0800)
commit9202304c180e811ab7b64ccf01fe11187969fe9b
treeac39f12a75534ae8ebedc611763d02b865f5e5d3
parent0cd645250306b244a5d6e0e293ed1786ec101641
MdeModulePke/Mtftp4Dxe: Correct the total received and saved block number.

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.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>
MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Impl.h
MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Rrq.c
MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Support.c
MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Support.h
MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Wrq.c