[asterisk-dev] [Code Review] 4454: chan_sip: Fix realtime locking inversion when poking a just built peer.
rmudgett
reviewboard at asterisk.org
Fri Feb 27 17:38:14 CST 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4454/
-----------------------------------------------------------
Review request for Asterisk Developers.
Bugs: ASTERISK-24838
https://issues.asterisk.org/jira/browse/ASTERISK-24838
Repository: Asterisk
Description
-------
When a realtime peer is built it can cause a locking inversion when the
just built peer is poked. If the CLI command "sip show channels" is
periodically executed a deadlock can happen because of the locking
inversion.
* Push the peer poke off onto the scheduler thread to avoid the locking
inversion of the just built realtime peer.
Diffs
-----
/branches/11/channels/chan_sip.c 432422
Diff: https://reviewboard.asterisk.org/r/4454/diff/
Testing
-------
Compiling and code inspection. I don't have a realtime setup to test with.
Thanks,
rmudgett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20150227/8499acc8/attachment.html>
More information about the asterisk-dev
mailing list