audk/MdeModulePkg/Universal/Network
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
..
ArpDxe MdeModulePkg: Update IP4 stack drivers for classless address unicast check. 2016-10-28 14:20:10 +08:00
Dhcp4Dxe MdeModulePkg: Fix some typos of "according" 2017-02-08 14:48:02 +08:00
DpcDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
IScsiDxe MdeModulePkg: Fix assert in iSCSI. 2016-12-07 16:13:11 +08:00
Ip4Dxe MdeModulePkg: Fix service binding issue in TCP4 and Ip4 dxe. 2017-03-17 10:14:30 +08:00
MnpDxe MdeModulePkg: Fix typos in comments and variables 2016-07-11 10:29:48 +08:00
Mtftp4Dxe MdeModulePkg: Fix the wrong Timer event check 2016-10-31 08:45:08 +08:00
SnpDxe MdeModulePkg: Fix SNP.Initialize() spec conformance issue 2016-06-02 10:25:58 +08:00
Tcp4Dxe MdeModulePkg: Fix service binding issue in TCP4 and Ip4 dxe. 2017-03-17 10:14:30 +08:00
Udp4Dxe MdeModulePkg: Update IP4 stack drivers for classless address unicast check. 2016-10-28 14:20:10 +08:00
UefiPxeBcDxe MdeModulePkg: Refine casting expression result to bigger size 2017-03-06 14:33:20 +08:00
VlanConfigDxe MdeModulePkg: Replace [Ascii|Unicode]ValueToString 2017-03-02 09:58:11 +08:00