NetworkPkg: Fix hang issue after system reconnected when IPSec has set up
authorJiaxin Wu <jiaxin.wu@intel.com>
Fri, 14 Aug 2015 07:41:51 +0000 (07:41 +0000)
committerjiaxinwu <jiaxinwu@Edk2>
Fri, 14 Aug 2015 07:41:51 +0000 (07:41 +0000)
commit5dd08a463d5ca40b2ee3a8a0639c846e68265b92
tree47e7c5f2a68f02e826b2e2ff45024ccf8d4e463d
parenta0f2af3a74170cb8fa715711b791f0f606a25c2e
NetworkPkg: Fix hang issue after system reconnected when IPSec has set up

IpSecStop() is incompetent to send out the delete information since the underlying
IP child has been destroyed. Delete all established IKE SAs and related
Child SAs directly.

Cc: Ye Ting <ting.ye@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18223 6f19259b-4bc3-4df7-8a09-765794883524
NetworkPkg/IpSecDxe/IkeService.c
NetworkPkg/IpSecDxe/IkeService.h
NetworkPkg/IpSecDxe/Ikev2/Exchange.c
NetworkPkg/IpSecDxe/Ikev2/Utility.c
NetworkPkg/IpSecDxe/IpSecDriver.c