]> git.ipfire.org Git - thirdparty/strongswan.git/commit
ike-sa-manager: Avoid initiating CHILD_SAs on IKE_SAs with queued DELETE
authorTobias Brunner <tobias@strongswan.org>
Thu, 4 Jul 2024 12:43:37 +0000 (14:43 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 26 Jul 2024 09:34:44 +0000 (11:34 +0200)
commitda00a04f601df0ad989f20f15c20949e29f11ff3
tree6c531a56dab805af6c22da5aa5a3eb364c4be35d
parent07ce6b44c55475134e1a09332837fb7234a3fbb9
ike-sa-manager: Avoid initiating CHILD_SAs on IKE_SAs with queued DELETE

The IKE_SA might be busy with a different task while a request to
terminate it is getting queued, we don't want to use such an IKE_SA to
initiate new CHILD_SAs as these tasks will get lost once the IKE_SA is
terminated.
src/libcharon/sa/ike_sa.c
src/libcharon/sa/ike_sa.h
src/libcharon/sa/ike_sa_manager.c