Review Board 1.7.16


chan_sip: Fix realtime locking inversion when poking a just built peer.

Review Request #4454 - Created Feb. 27, 2015 and submitted

rmudgett
11
ASTERISK-24838
Reviewers
asterisk-dev
Asterisk
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.
Compiling and code inspection.  I don't have a realtime setup to test with.
Review request changed
Updated (March 6, 2015, 2:26 p.m.)
  • changed from pending to submitted
Committed in revision 432553

https://reviewboard.asterisk.org/ runs on a server provided by Digium, Inc. and uses bandwidth donated to the open source Asterisk community by API Digital Communications in Huntsville, AL USA.
Please report problems with this site to asteriskteam@digium.com.