]> 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>
Mon, 22 Mar 2021 12:48:49 +0000 (07:48 -0500)
commit73a52c53ceff03e503882b920ed324dbb80e9e39
tree459e6af57ec6519da6d5e1c40678a3e7bbae0f14
parent720a39eb9edefa49c2e6d6ec16e234b85730ec20
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