aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/kernel_netlink/kernel_netlink_ipsec.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2016-06-17 10:19:37 +0200
committerTobias Brunner <tobias@strongswan.org>2016-06-17 18:43:35 +0200
commit941ac92b95ecf7bbfb39ff96b9b252fcc2f69d0a (patch)
treec9d40e77d3507f4a661d7877666b1985b8944d4a /src/libcharon/plugins/kernel_netlink/kernel_netlink_ipsec.c
parent44e83f76f3de50947a90cc37b2628646a5125353 (diff)
downloadstrongswan-941ac92b95ecf7bbfb39ff96b9b252fcc2f69d0a.tar.bz2
strongswan-941ac92b95ecf7bbfb39ff96b9b252fcc2f69d0a.tar.xz
daemon: Don't hold settings lock while executing start/stop scripts
If a called script interacts with the daemon or one of its plugins another thread might have to acquire the write lock (e.g. to configure a fallback or set a value). Holding the read lock prevents that, potentially resulting in a deadlock.
Diffstat (limited to 'src/libcharon/plugins/kernel_netlink/kernel_netlink_ipsec.c')
0 files changed, 0 insertions, 0 deletions