diff options
| author | Tobias Brunner <tobias@strongswan.org> | 2015-07-09 14:34:19 +0200 |
|---|---|---|
| committer | Tobias Brunner <tobias@strongswan.org> | 2015-07-27 13:49:26 +0200 |
| commit | 773fcb1605d413997450b59d114a1c035910cc58 (patch) | |
| tree | d50d2454fedec0cc1fa167ffc6329fff4ba3305f /src/libcharon/plugins/socket_default/socket_default_socket.c | |
| parent | 6f7a3b33bc044e0c212be54be74b9497d513ca86 (diff) | |
| download | strongswan-773fcb1605d413997450b59d114a1c035910cc58.tar.bz2 strongswan-773fcb1605d413997450b59d114a1c035910cc58.tar.xz | |
trap-manager: Properly check-in IKE_SA if initiating fails
This basically reverts f4e822c1b422 ("trap-manager: don't check-in
nonexisting IKE_SA if acquire fails"). As checkout_by_config() could
return an already existing and established IKE_SA we have to properly
destroy it, for instance, in case other threads are waiting to check
it out. checkin_and_destroy() should handle the case of a new SA
properly (it produces a log message on level 1, though).
Diffstat (limited to 'src/libcharon/plugins/socket_default/socket_default_socket.c')
0 files changed, 0 insertions, 0 deletions
