Revision: 18484
          http://sourceforge.net/p/edk2/code/18484
Author:   jiaxinwu
Date:     2015-09-16 09:02:48 +0000 (Wed, 16 Sep 2015)
Log Message:
-----------
NetworkPkg: Fix connection issue after correct SPD and re-enable IPsec

This patch is used to fix connection failure issue after correct the SPD
and re-enable IPsec. The driver should not update the SadEntry's SpdSelector
when doing SpdEntry modification. SadEntry's SpdSelector may not equal to
this edited SpdEntry?\226?\128?\153s Selector.

Cc: Ye Ting <[email protected]>
Cc: Fu Siyuan <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiaxin Wu <[email protected]>
Reviewed-by: Ye Ting <[email protected]>
Reviewed-by: Fu Siyuan <[email protected]>

Modified Paths:
--------------
    trunk/edk2/NetworkPkg/IpSecDxe/IpSecConfigImpl.c

Modified: trunk/edk2/NetworkPkg/IpSecDxe/IpSecConfigImpl.c
===================================================================
--- trunk/edk2/NetworkPkg/IpSecDxe/IpSecConfigImpl.c    2015-09-16 08:52:43 UTC 
(rev 18483)
+++ trunk/edk2/NetworkPkg/IpSecDxe/IpSecConfigImpl.c    2015-09-16 09:02:48 UTC 
(rev 18484)
@@ -1204,12 +1204,7 @@
           RemoveEntryList (&SadEntry->BySpd);
         }
         InsertTailList (&SpdEntry->Data->Sas, &SadEntry->BySpd);
-        SadEntry->Data->SpdEntry = SpdEntry;
-        DuplicateSpdSelector (
-          (EFI_IPSEC_CONFIG_SELECTOR *)SadEntry->Data->SpdSelector,
-          (EFI_IPSEC_CONFIG_SELECTOR *)SpdEntry->Selector,
-          NULL
-          );             
+        SadEntry->Data->SpdEntry = SpdEntry;             
       }
     }
   }


------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to