]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg/Ping: fix loss of first packet
authorMeenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
Fri, 16 Feb 2018 08:45:11 +0000 (14:15 +0530)
committerLaszlo Ersek <lersek@redhat.com>
Fri, 23 Feb 2018 11:46:04 +0000 (12:46 +0100)
commitd624deb7abf9ddce2a3a280eec233f5c5feb4f20
treee94a5f2c5789c0efb52f3663a561899a4a461813
parent8aaa8f7bc0f5dc79bce476e2ffa8a956c4db8bb0
ShellPkg/Ping: fix loss of first packet

Issue:
Reply for first ping packet was getting dropped.

Cause:
Sometimes reply message comes even before trasmit
function returns, hence missing 1st reply

Fix:
Prepare the TxList before calling Transmit function.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c