ike-sa-manager: Improve scalability of IKE_SA count checking
authorThomas Egerer <thomas.egerer@secunet.com>
Thu, 23 Mar 2017 08:43:06 +0000 (09:43 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 19 May 2017 13:28:46 +0000 (15:28 +0200)
commit746e88406cf4d2313364e38ce6d016e32ed360d1
tree10b25d4815f45f1d992f004ea763374192340701
parent59e6e93323b2b19ee7fbfc111bafc47acf7e5122
ike-sa-manager: Improve scalability of IKE_SA count checking

Much like in commit a68454b, we now use a global atomic counter to keep
track of the number of IKE_SAs currently registered. This should improve
scalability for a large number of segments even more.

Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
src/libcharon/sa/ike_sa_manager.c