-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4342/
-----------------------------------------------------------
Review request for Asterisk Developers.
Bugs: ASTERISK-24600
https://issues.asterisk.org/jira/browse/ASTERISK-24600
Repository: Asterisk
Description
-------
Calling ast_channel_bridge_peer() cannot be done while holding any channel
locks. The reported issue hit the deadlock in chan_iax, but an audit of
the ast_channel_bridge_peer() calls found three more locations where the
same deadlock can occur.
* Made CHANNEL(peer), chan_iax, res_fax, and the SNMP agent not call
ast_channel_bridge_peer() with any channel locked. For CHANNEL(peer) and
chan_iax I had to rework the logic to not hold the channel lock.
Diffs
-----
/branches/13/res/snmp/agent.c 430625
/branches/13/res/res_fax.c 430625
/branches/13/funcs/func_channel.c 430625
/branches/13/channels/chan_iax2.c 430625
Diff: https://reviewboard.asterisk.org/r/4342/diff/
Testing
-------
Testsuite tests still pass for FAX. The full testsuite didn't hit any deadlock.
Thanks,
rmudgett
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev