]> git.ipfire.org Git - thirdparty/strongswan.git/commit
ike-sa-manager: Unlock mutex if allocating SPI fails to avoid lock contention
authorThomas Egerer <thomas.egerer@secunet.com>
Wed, 20 Mar 2024 10:11:17 +0000 (10:11 +0000)
committerTobias Brunner <tobias@strongswan.org>
Wed, 20 Mar 2024 12:18:57 +0000 (13:18 +0100)
commitf3c8e02c694c510776753ef1dc2055ee44e31185
tree33c51a258e418472668ee91de364c82475402a52
parentdea8493f3a6a5ef16ee97d0d446ca52f8f8afa3c
ike-sa-manager: Unlock mutex if allocating SPI fails to avoid lock contention

Fixes: 5d91d8c46937 ("Check rng return value when generating SPIs in ike_sa_manager_t")
Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
src/libcharon/sa/ike_sa_manager.c