[strongSwan-dev] charon deadlock involving three threads

Tobias Brunner tobias at strongswan.org
Fri Dec 23 11:58:48 CET 2011


Hi Thomas,

I checked in some patches which fix this particular deadlock.  The first
one [1] actually fixes a possible segmentation fault during shutdown in
4.6.1.  Patch [2] adds some atomic compare and swap wrappers to fix a
TOCTOU problem in trap_manager_t.  Finally, patch [3] fixes the deadlock
by not holding the read lock while waiting for the IKE_SA.

Regards,
Tobias

[1] http://git.strongswan.org/?p=strongswan.git;a=commitdiff;h=d6656f11
[2] http://git.strongswan.org/?p=strongswan.git;a=commitdiff;h=5317dd68
[3] http://git.strongswan.org/?p=strongswan.git;a=commitdiff;h=fc726f13





More information about the Dev mailing list