]> git.ipfire.org Git - thirdparty/asterisk.git/commit
bridge: Unlock channel during Local peer check.
authorJoshua C. Colp <jcolp@sangoma.com>
Mon, 27 Dec 2021 13:28:00 +0000 (09:28 -0400)
committerJoshua Colp <jcolp@sangoma.com>
Thu, 13 Jan 2022 19:11:33 +0000 (13:11 -0600)
commitc1129fdd8c3c8c8b7364fec38c2d612747753b71
treeeb5effb458c12d4a7a2419b8f483716af91a2ffb
parent85601849c646709836f59007d04ca829ef0d5955
bridge: Unlock channel during Local peer check.

It's not safe to keep the channel locked while locking
the peer Local channel, as it can result in a deadlock.

This change unlocks it during this time but keeps the
bridge locked to ensure nothing changes about the bridge.

ASTERISK-29821

Change-Id: Ib68eb7037e5a479bcc2aceee77337cdde1fbdde6
(cherry picked from commit d83a46869ed5e13d0ed5a898bac8faed61d91203)
main/bridge_channel.c