]> 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>
Wed, 5 Jan 2022 13:06:11 +0000 (07:06 -0600)
commitf9e67945da27516c20e2fb4b873bfce676b51752
tree65a536fab7a400f526b56b582662d02c879500cb
parent2b61440027679026a7e392cd80d5ba69a3f82576
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