summaryrefslogtreecommitdiffstats
path: root/NetworkPkg/TcpDxe
diff options
context:
space:
mode:
authorZhang Lubo <lubo.zhang@intel.com>2017-03-16 18:03:36 +0800
committerJiaxin Wu <jiaxin.wu@intel.com>2017-03-17 10:14:30 +0800
commit4bb89650f5dd77a9807915ced2f454b8d39a323f (patch)
tree344eb5ebb51f23d7a2467650f4c99c49fa7cb862 /NetworkPkg/TcpDxe
parent962e62bcd84db8a684fb6f594b930726aa62b778 (diff)
downloadedk2-4bb89650f5dd77a9807915ced2f454b8d39a323f.tar.gz
edk2-4bb89650f5dd77a9807915ced2f454b8d39a323f.tar.bz2
edk2-4bb89650f5dd77a9807915ced2f454b8d39a323f.zip
MdeModulePkg: Fix service binding issue in TCP4 and Ip4 dxe.
v2: Handle error case in SockCreateChild and fix typo issue when we destroy the socket Sock and its associated protocol control block, we need to first close the parent protocol, then remove the protocol from childHandle and last to free any data structures that allocated in CreateChild. But currently, we free the socket data (Socket ConfigureState) before removing the protocol form the childhandle. So if the up layer want to send the tcp reset packet in it's driver binding stop function, it will failed. The IpInstance destroy state is redundant and may cause ip transmit failed if up layer want to send ip packet. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Zhang Lubo <lubo.zhang@intel.com> Cc: Wu Jiaxin <jiaxin.wu@intel.com> Cc: Ye Ting <ting.ye@intel.com> Cc: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
Diffstat (limited to 'NetworkPkg/TcpDxe')
0 files changed, 0 insertions, 0 deletions