]> git.ipfire.org Git - thirdparty/strongswan.git/commit
Keep the PDP connections lock while accessing its objects
authorMartin Willi <martin@revosec.ch>
Wed, 19 Dec 2012 16:55:47 +0000 (17:55 +0100)
committerMartin Willi <martin@revosec.ch>
Thu, 14 Feb 2013 16:19:56 +0000 (17:19 +0100)
commitdadd9744b60ce6a0dee2d23d7b981b28af6d5d7e
tree8a8c588e51c6679768826b4f1faa6929c372ba0f
parent37884ab10f0f40a619ba519042be94b4b473aaae
Keep the PDP connections lock while accessing its objects

When we introduce connection timeouts, the state may disappear at any time.
This change prevents that, but is not very clear. We probably have to refactor
connection handling.
src/libcharon/plugins/tnc_pdp/tnc_pdp.c
src/libcharon/plugins/tnc_pdp/tnc_pdp_connections.c
src/libcharon/plugins/tnc_pdp/tnc_pdp_connections.h