]> git.ipfire.org Git - thirdparty/strongswan.git/commit
child-rekey: Only set reqid on new CHILD_SA if it was allocated dynamically
authorTobias Brunner <tobias@strongswan.org>
Mon, 2 Oct 2023 14:02:08 +0000 (16:02 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 13 Nov 2023 11:02:11 +0000 (12:02 +0100)
commitbc39a3aecb37fb8829b8378fdeb58d5778bb0d52
tree04d16001c4a1afc02cc87e5a75569eaf4889810f
parent4ea739baf4150025d76de1aa7cfe92bb0659d9f1
child-rekey: Only set reqid on new CHILD_SA if it was allocated dynamically

Keeping a reference ensures that if the old SA expires before the new
one is installed, the previous reqid isn't reallocated to a concurrently
established CHILD_SA with different selectors.
src/libcharon/sa/ikev2/tasks/child_rekey.c