ike-sa-manager: Signal entries that we don't actually check out
authorTobias Brunner <tobias@strongswan.org>
Thu, 5 Nov 2015 17:52:27 +0000 (18:52 +0100)
committerTobias Brunner <tobias@strongswan.org>
Mon, 9 Nov 2015 14:18:37 +0000 (15:18 +0100)
commit0ea16f6b15051823687201b391540590a4805e3c
tree3f494fb4318fb995296d26c9b888f3e775aacfb6
parent1d528cfb8d6f0ee411b545ad07ace44876afe2ff
ike-sa-manager: Signal entries that we don't actually check out

In some cases we call wait_for_entry() but don't actually check out the
entry afterwards (e.g. because it doesn't match certain criteria).  So
there won't be a call to checkin() for such entries causing waiting
threads to get signaled.  Instead, such threads would be blocked until
another thread properly checks out/in the entry (or does a blocking
enumeration).
src/libcharon/sa/ike_sa_manager.c