audk/MdeModulePkg/Universal/Network/Tcp4Dxe
Zhang Lubo 4bb89650f5 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>
2017-03-17 10:14:30 +08:00
..
ComponentName.c Initialize data and correct faulty logic in TcpComponentNameGetControllerName(). 2015-02-04 06:43:34 +00:00
SockImpl.c MdeModulePkg: Fix service binding issue in TCP4 and Ip4 dxe. 2017-03-17 10:14:30 +08:00
SockImpl.h MdeModulePkg: Fix service binding issue in TCP4 and Ip4 dxe. 2017-03-17 10:14:30 +08:00
SockInterface.c MdeModulePkg: Fix service binding issue in TCP4 and Ip4 dxe. 2017-03-17 10:14:30 +08:00
Socket.h 1. Add EFI_COMPONENT_NAME2_PROTOCOL.GetControllerName() support. 2012-12-13 06:47:06 +00:00
Tcp4Dispatcher.c MdeModulePkg: Fix service binding issue in TCP4 and Ip4 dxe. 2017-03-17 10:14:30 +08:00
Tcp4Driver.c MdeModulePkg: Fix typos in comments and variables 2016-07-11 10:29:48 +08:00
Tcp4Driver.h MdeModulePkg: Fix typos in comments and variables 2016-07-11 10:29:48 +08:00
Tcp4Dxe.inf MdeModulePkg: INF/DEC file updates to EDK II packages 2014-08-28 06:34:06 +00:00
Tcp4Dxe.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
Tcp4DxeExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
Tcp4Func.h 1. Mark the network volatile variables as deprecated in code comments and remove related code to set/get these variable. 2014-05-07 06:17:31 +00:00
Tcp4Input.c MdeModulePkg:TcpDriver need to use EFI_D_NET for DEBUG maessage. 2016-10-09 14:29:40 +08:00
Tcp4Io.c Update the copyright notice format 2010-04-24 09:33:45 +00:00
Tcp4Main.c MdeModulePkg: Update IP4 stack drivers for classless address unicast check. 2016-10-28 14:20:10 +08:00
Tcp4Main.h 1. Add EFI_COMPONENT_NAME2_PROTOCOL.GetControllerName() support. 2012-12-13 06:47:06 +00:00
Tcp4Misc.c MdeModulePkg:TcpDriver need to use EFI_D_NET for DEBUG maessage. 2016-10-09 14:29:40 +08:00
Tcp4Option.c Update the copyright notice format 2010-04-24 09:33:45 +00:00
Tcp4Option.h Update the copyright notice format 2010-04-24 09:33:45 +00:00
Tcp4Output.c MdeModulePkg/Tcp4Dxe: rebase to ARRAY_SIZE() 2016-10-27 11:10:57 +02:00
Tcp4Proto.h The patch acknowledges the TCP zero window probe message, either the format with 1 byte new data, or no new data. It also increases exponentially the interval between successive probes when performing TCP zero window probe. 2010-08-27 07:57:45 +00:00
Tcp4Timer.c The patch acknowledges the TCP zero window probe message, either the format with 1 byte new data, or no new data. It also increases exponentially the interval between successive probes when performing TCP zero window probe. 2010-08-27 07:57:45 +00:00