aboutsummaryrefslogtreecommitdiffstats
path: root/src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2014-07-17 10:35:42 +0200
committerTobias Brunner <tobias@strongswan.org>2014-09-09 10:56:15 +0200
commitdbd7f4be31210044e85f70a054d921a7176403fc (patch)
tree0513b9f27ecefa2f31e1466938d8956e9b0f5022 /src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c
parent7e433456fcbfc19f8531258da1daad60b02753bf (diff)
downloadstrongswan-dbd7f4be31210044e85f70a054d921a7176403fc.tar.bz2
strongswan-dbd7f4be31210044e85f70a054d921a7176403fc.tar.xz
mutex: Use atomics to set current thread in recursive mutex
Because this->thread is also read by threads that don't hold the mutex the previous implementation was problematic (especially since pthread_t is an opaque type of unknown length). Fixes #654.
Diffstat (limited to 'src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c')
0 files changed, 0 insertions, 0 deletions