mirror of https://github.com/acidanthera/audk.git
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’s Selector. Cc: Ye Ting <ting.ye@intel.com> Cc: Fu Siyuan <siyuan.fu@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> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18484 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
96702f88a3
commit
2f667c5488
|
@ -1204,12 +1204,7 @@ SetSpdEntry (
|
|||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue