aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/kernel_libipsec
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2016-05-25 12:15:38 +0200
committerTobias Brunner <tobias@strongswan.org>2016-06-10 10:45:35 +0200
commitebeaac1f2bd9caf6e886e9de2d639e02cd0eba78 (patch)
treeebadcc155d162187edebc39be5a03fe86f943108 /src/libcharon/plugins/kernel_libipsec
parent471b907613326de0b446a5c493a99b8f51a1ab53 (diff)
downloadstrongswan-ebeaac1f2bd9caf6e886e9de2d639e02cd0eba78.tar.bz2
strongswan-ebeaac1f2bd9caf6e886e9de2d639e02cd0eba78.tar.xz
kernel-netlink: Let only a single thread work on a specific policy
Other threads are free to add/update/delete other policies. This tries to prevent race conditions caused by releasing the mutex while sending messages to the kernel. For instance, if break-before-make reauthentication is used and one thread on the responder is delayed in deleting the policies that another thread is concurrently adding for the new SA. This could have resulted in no policies being installed eventually. Fixes #1400.
Diffstat (limited to 'src/libcharon/plugins/kernel_libipsec')
0 files changed, 0 insertions, 0 deletions