]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/TcpIoLib: Check input Timeout before calling CheckEvent() service.
authorFu Siyuan <siyuan.fu@intel.com>
Tue, 5 Dec 2017 06:10:40 +0000 (14:10 +0800)
committerFu Siyuan <siyuan.fu@intel.com>
Tue, 12 Dec 2017 07:48:09 +0000 (15:48 +0800)
commitb5035efab4c44dea1769034f1f9b23a49fe86f85
tree821aebaebc9199ac8b2247620de70f2507b9a40e
parentaf9743ef44f282a66c02998ac39e98d9826d16c5
MdeModulePkg/TcpIoLib: Check input Timeout before calling CheckEvent() service.

For TcpIoConnect() and TcpIoAccept(), this patch adds the check for Timeout event
before calling CheckEvent() service so as to avoid the unnecessary function call.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
MdeModulePkg/Include/Library/TcpIoLib.h
MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.c