aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/load_tester/load_tester_ipsec.c
diff options
context:
space:
mode:
authorChristophe Gouault <christophe.gouault@6wind.com>2014-04-08 17:11:13 +0200
committerTobias Brunner <tobias@strongswan.org>2014-04-24 17:54:15 +0200
commit2cbaa632951dd662e26e63299d8049c0d2bed8b1 (patch)
tree30b874666081322b7efe8f737f80eae875b078b9 /src/libcharon/plugins/load_tester/load_tester_ipsec.c
parenta68454bd68221490e5504969b5378a1e86f204de (diff)
downloadstrongswan-2cbaa632951dd662e26e63299d8049c0d2bed8b1.tar.bz2
strongswan-2cbaa632951dd662e26e63299d8049c0d2bed8b1.tar.xz
load-tester: Fix race condition issuing same identity
Due to an unprotected incrementation, two load-tester initiators occasionally use the same identifier under high load. The responder typically drops one of the connections. Use an atomic incrementation to avoid this race condition. Signed-off-by: Christophe Gouault <christophe.gouault@6wind.com>
Diffstat (limited to 'src/libcharon/plugins/load_tester/load_tester_ipsec.c')
0 files changed, 0 insertions, 0 deletions