diff options
| author | Tobias Brunner <tobias@strongswan.org> | 2017-07-03 15:57:49 +0200 |
|---|---|---|
| committer | Tobias Brunner <tobias@strongswan.org> | 2017-07-27 13:34:40 +0200 |
| commit | 8d4ebb3ac421d415c140537265666d76f9d4f6d1 (patch) | |
| tree | 7a3feb0b39dc59da94f884c990192168f2285179 /scripts | |
| parent | 578d893b4a71897f48225a1645fef1eaced13399 (diff) | |
| download | strongswan-8d4ebb3ac421d415c140537265666d76f9d4f6d1.tar.bz2 strongswan-8d4ebb3ac421d415c140537265666d76f9d4f6d1.tar.xz | |
peer-cfg: Use an rwlock instead of a mutex to safely access child-cfgs
If multiple threads want to enumerate child-cfgs and potentially lock
other locks (e.g. check out IKE_SAs) while doing so a deadlock could
be caused (as was the case with VICI configs with start_action=start).
It should also improve performance for roadwarrior connections and lots
of clients connecting concurrently.
Fixes #2374.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
