]> git.ipfire.org Git - thirdparty/strongswan.git/commit
ike-sa: Correctly maintain allocated reqid when recreating CHILD_SA
authorTobias Brunner <tobias@strongswan.org>
Mon, 2 Oct 2023 14:21:28 +0000 (16:21 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 13 Nov 2023 11:02:11 +0000 (12:02 +0100)
commitc2a4c8e38a2786013e89b7bd183f6518c6aceb5a
tree8b9eed7bcf64421bdc3cd771f504a5fb1380536d
parentf2bc526dbbfb02d28b0ad734de8a8d56b622f593
ike-sa: Correctly maintain allocated reqid when recreating CHILD_SA

Maintaining the reqid when recreating a CHILD_SA from scratch night not
strictly be necessary as we usually don't have to replace any temporary
states in the kernel.  However, there could be concurrent acquires that
might actually make it necessary (we use the reqid to keep track of
acquires and it's also part of the duplicate check).
src/libcharon/sa/ike_sa.c