]> 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)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Wed, 5 Jan 2022 13:10:54 +0000 (07:10 -0600)
commit220e885bcc5881929c654add7c71ce5808b48eee
tree1ec73b4db445156fd32cbd5ea52bc1420791089d
parentb738e119f245d86f658165fd1e1650db2cf87dfc
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
main/bridge_channel.c