Revision: 18487
          http://sourceforge.net/p/edk2/code/18487
Author:   hwu1225
Date:     2015-09-17 00:55:32 +0000 (Thu, 17 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.

(Sync patch r18484 from main trunk.)

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]>

Revision Links:
--------------
    http://sourceforge.net/p/edk2/code/18484

Modified Paths:
--------------
    branches/UDK2015/NetworkPkg/IpSecDxe/IpSecConfigImpl.c

Modified: branches/UDK2015/NetworkPkg/IpSecDxe/IpSecConfigImpl.c
===================================================================
--- branches/UDK2015/NetworkPkg/IpSecDxe/IpSecConfigImpl.c      2015-09-17 
00:55:10 UTC (rev 18486)
+++ branches/UDK2015/NetworkPkg/IpSecDxe/IpSecConfigImpl.c      2015-09-17 
00:55:32 UTC (rev 18487)
@@ -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