aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/kernel_iph/kernel_iph_plugin.h
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2015-09-02 12:14:35 +0200
committerTobias Brunner <tobias@strongswan.org>2015-10-29 15:59:41 +0100
commit758b1caa0e75b6de011057fbc8c2982303745953 (patch)
tree1db805541297b0c5949f1f825c03bfaa619bd0cd /src/libcharon/plugins/kernel_iph/kernel_iph_plugin.h
parent858148092d1ef755cd40fea0169259e4ad3e9f02 (diff)
downloadstrongswan-758b1caa0e75b6de011057fbc8c2982303745953.tar.bz2
strongswan-758b1caa0e75b6de011057fbc8c2982303745953.tar.xz
ikev1: Prevent deadlock when checking for duplicate IKEv1 SAs
Previously, the current segment was held while checking for duplicate SAs, which requires acquiring all segments. If multiple threads did this concurrently this resulted in a deadlock as they couldn't acquire the segments held by the other threads attempting to do the same. With the default configuration only one segment is used, which prevents the problem as only one thread can check in an IKE SA concurrently. Fixes: a064eaa8a63a ("Handling of initial contact")
Diffstat (limited to 'src/libcharon/plugins/kernel_iph/kernel_iph_plugin.h')
0 files changed, 0 insertions, 0 deletions