Acidanthera UEFI Development Kit based on EDK II edk2-stable202311
Go to file
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
AppPkg
ArmPkg ArmPkg/UncachedMemoryAllocationLib: set XP bit via CPU arch protocol 2017-03-15 19:36:10 +00:00
ArmPlatformPkg ArmPlatformPkg/PlatformIntelBdsLib: don't clobber ConSplitter handle 2017-03-03 21:42:38 +00:00
ArmVirtPkg ArmVirtPkg, OvmfPkg: retire QemuFwCfgS3Enabled() from QemuFwCfgLib 2017-03-14 21:49:16 +01:00
BaseTools BaseTools/UPT: Fix an issue in subst command 2017-03-14 17:29:24 +08:00
BeagleBoardPkg
Conf
CorebootModulePkg
CorebootPayloadPkg
CryptoPkg CryptoPkg:SmmCryptLib: Add real Pkcs5Pbkdf2.c. 2017-03-15 21:50:52 +08:00
DuetPkg
EdkCompatibilityPkg
EdkShellBinPkg
EdkShellPkg
EmbeddedPkg EmbeddedPkg/PrePiLib: allocate code pages for DxeCore 2017-03-14 20:08:31 +00:00
EmulatorPkg EmulatorPkg: Add the UefiBootManagerLib library 2017-03-08 09:02:28 +08:00
FatBinPkg
FatPkg FatPkg: Refine casting expression result to bigger size 2017-03-06 14:33:21 +08:00
IntelFrameworkModulePkg IntelFrameworkModulePkg: Refine casting expression result to bigger size 2017-03-06 14:33:22 +08:00
IntelFrameworkPkg
IntelFsp2Pkg IntelFsp2Pkg: Raise exception for invalid BSF option 2017-03-16 22:07:04 +08:00
IntelFsp2WrapperPkg IntelFsp2WrapperPkg: Add Readme.md 2017-03-13 08:54:30 +08:00
IntelFspPkg
IntelFspWrapperPkg IntelFspWrapperPkg: Refine casting expression result to bigger size 2017-03-06 14:33:23 +08:00
IntelSiliconPkg
MdeModulePkg MdeModulePkg: Fix service binding issue in TCP4 and Ip4 dxe. 2017-03-17 10:14:30 +08:00
MdePkg MdePkg/UefiDevicePathLib: Fix the wrong MAC address length 2017-03-15 15:01:39 +08:00
NetworkPkg NetworkPkg: Fix potential bug if the iSCSI use dns protocol. 2017-03-15 15:02:02 +08:00
Nt32Pkg Nt32Pkg: Replace [Ascii|Unicode]ValueToString 2017-03-02 09:58:27 +08:00
Omap35xxPkg
OptionRomPkg
OvmfPkg OvmfPkg/build.sh: Parse qemu version in more cases 2017-03-16 14:31:18 -07:00
PcAtChipsetPkg PcAtChipsetPkg: Refine casting expression result to bigger size 2017-03-06 14:33:24 +08:00
PerformancePkg PerformancePkg Dp_App: Handle "/" separator in debug path for GCC build 2017-03-16 11:08:44 +08:00
QuarkPlatformPkg QuarkPlatformPkg: Add UefiBootManagerLib to fix Shell build failure 2017-03-10 17:36:39 +08:00
QuarkSocPkg
SecurityPkg SecurityPkg/Opal: Refine casting expression result to bigger size 2017-03-06 14:33:24 +08:00
ShellBinPkg
ShellPkg ShellPkg UefiDpLib: Handle "/" separator in debug path for GCC build 2017-03-16 11:08:48 +08:00
SignedCapsulePkg SignedCapsulePkg: Add Readme.md 2017-03-10 10:44:14 +08:00
SourceLevelDebugPkg SourceLevelDebugPkg: Refine casting expression result to bigger size 2017-03-06 14:33:25 +08:00
StdLib
StdLibPrivateInternalFiles
UefiCpuPkg UefiCpuPkg/PiSmmCpuDxeSmm: Refine casting result to bigger size 2017-03-08 08:59:21 +08:00
UnixPkg
Vlv2DeviceRefCodePkg
Vlv2TbltDevicePkg
.gitignore
BuildNotes2.txt
Edk2Setup.bat
Maintainers.txt Add SignedCapsule content. 2017-03-10 10:44:13 +08:00
edksetup.bat
edksetup.sh