]> git.ipfire.org Git - thirdparty/asterisk.git/commit
core_unreal: Fix deadlock with T.38 control frames.
authorJoshua C. Colp <jcolp@sangoma.com>
Fri, 19 Mar 2021 13:52:08 +0000 (10:52 -0300)
committerJoshua Colp <jcolp@sangoma.com>
Fri, 19 Mar 2021 15:02:19 +0000 (09:02 -0600)
commit47e9ce96ea306b22c6442a8b39006844b03fef8d
treeae216c488b6aa934be230e49f505ff88a1f3d874
parentae4a3da5570e2c49a1f200700fde856de93f6e6c
core_unreal: Fix deadlock with T.38 control frames.

When using the ast_unreal_lock_all function no channel
locks can be held before calling it.

This change unlocks the channel that indicate was
called on before doing so and then relocks it afterwards.

ASTERISK-29035

Change-Id: Id65016201b5f9c9519a216e250f9101c629e19e9
main/core_unreal.c