]> git.ipfire.org Git - thirdparty/strongswan.git/commit
ikev2: Send deletes also for rekeyed SAs
authorTobias Brunner <tobias@strongswan.org>
Wed, 17 Jun 2020 14:04:10 +0000 (16:04 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 29 Jun 2022 08:28:50 +0000 (10:28 +0200)
commit8d6ed71a5522d77479f6c75140b137d54a17a6cb
tree9c6ca01c39eccafad5df60da2fd61ff6f4dc2b17
parentb6652ababed3c200df9f8ab764cdaec872dc4c33
ikev2: Send deletes also for rekeyed SAs

This way we can use the IKE_REKEYED state for both redundant and old SAs
to suppress ike_updown().

In the ike-delete task we don't suppress events in state IKE_REKEYING as
that's the case when we delete an SA the peer is currently rekeying with
multiple key exchanges.
src/libcharon/sa/ike_sa.c
src/libcharon/sa/ikev2/tasks/ike_delete.c
src/libcharon/sa/ikev2/tasks/ike_rekey.c