]> git.proxmox.com Git - mirror_edk2.git/commit - NetworkPkg/Mtftp6Dxe/Mtftp6Support.c
NetworkPkg/Mtftp6Dxe: Correct the total received and saved block number.
authorJiaxin Wu <Jiaxin.wu@intel.com>
Thu, 25 Oct 2018 07:16:13 +0000 (15:16 +0800)
committerJiaxin Wu <Jiaxin.wu@intel.com>
Mon, 29 Oct 2018 00:31:18 +0000 (08:31 +0800)
commit2f6693c283b54666def65e5e0d0b84e48b21cfef
tree952ac6b19caa7a9deeb2630c345b234ec49d4913
parent9202304c180e811ab7b64ccf01fe11187969fe9b
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>
NetworkPkg/Mtftp6Dxe/Mtftp6Impl.h
NetworkPkg/Mtftp6Dxe/Mtftp6Rrq.c
NetworkPkg/Mtftp6Dxe/Mtftp6Support.c
NetworkPkg/Mtftp6Dxe/Mtftp6Support.h
NetworkPkg/Mtftp6Dxe/Mtftp6Wrq.c