]> git.ipfire.org Git - thirdparty/strongswan.git/commit
ike-delete: Don't call reestablish() when reauthenticating
authorTobias Brunner <tobias@strongswan.org>
Wed, 16 Jun 2021 11:54:18 +0000 (13:54 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 24 Aug 2021 12:31:55 +0000 (14:31 +0200)
commit48fbe1d2d5ab452258de6f073f2b100d1a0eedb3
tree2f1449bf14aef773c1d4b02fe2c253d54bb83ad5
parent57e68ab9c57f30a84c9e3022bbcd97278b18952a
ike-delete: Don't call reestablish() when reauthenticating

If we initiated a make-before-break reauthentication and the peer
concurrently deletes the IKE_SA (e.g. because it uses break-before-make
reauthentication), we would create a duplicate IKE_SA (the condition forces
a recreation of all existing CHILD_SAs because reestablish() is also called
to complete a break-before-make reauthentication).
src/libcharon/sa/ikev2/tasks/ike_delete.c