]> 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:12:05 +0000 (07:12 -0600)
commitd83a46869ed5e13d0ed5a898bac8faed61d91203
treeef8b2dc0dc0fcd32c5d9a206260bc733096ecbe8
parenta5cdee36a7ff990b37705d77f993bf603f8f279e
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