]> git.ipfire.org Git - thirdparty/strongswan.git/commit
vici: Signal waiting threads when removing a connection entry
authorTobias Brunner <tobias@strongswan.org>
Fri, 7 May 2021 08:53:57 +0000 (10:53 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 21 Jun 2021 07:59:15 +0000 (09:59 +0200)
commitb0e2187b6b9f0244161b15009479a2d26f6643bf
tree50a38ac16145ecb566885933ff143e4fb860297f
parent030e80957d30105c48cd32407ae5191bfcd833a9
vici: Signal waiting threads when removing a connection entry

If there are threads waiting in find_entry() and one in remove_entry()
and the latter is woken first by a thread calling put_entry(), the
former threads would remain stuck as they get never signaled.
src/libcharon/plugins/vici/vici_socket.c