/** @file\r
The implementation of IPSEC_CONFIG_PROTOCOL.\r
\r
- Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
(EFI_IPSEC_CONFIG_SELECTOR *) &SpdData->SaId[Index],\r
(EFI_IPSEC_CONFIG_SELECTOR *) SadEntry->Id\r
)) {\r
+ if (SadEntry->Data->SpdEntry != NULL) { \r
+ RemoveEntryList (&SadEntry->BySpd);\r
+ }\r
InsertTailList (&SpdEntry->Data->Sas, &SadEntry->BySpd);\r
SadEntry->Data->SpdEntry = SpdEntry;\r
DuplicateSpdSelector (\r