]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix deadlock when executing CLI "pri show channels" and "ss7 show channels" commands.
authorRichard Mudgett <rmudgett@digium.com>
Wed, 30 May 2012 17:39:24 +0000 (17:39 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 30 May 2012 17:39:24 +0000 (17:39 +0000)
commit634359c9a0a8adaecbadd1c6c837efdfada6e06e
treefbc9ef760db326d61712ec729ba4a3f9f5bf1401
parent6a1876e87515faa19cd6c39bb328e36bd9a1a2a8
Fix deadlock when executing CLI "pri show channels" and  "ss7 show channels" commands.

* Fix sig_pri_lock_owner() to avoid deadlock properly.

* Code pri_grab() better.

* Fix sig_ss7_lock_owner() to avoid deadlock properly.

* Code ss7_grab() better.

(closes issue ASTERISK-19854)
Reported by: Jaxon
Patches:
      jira_asterisk_19854_v1.8.6.patch (license #5621) patch uploaded by rmudgett (Modified to do the same thing to sig_ss7)
Tested by: Jaxon
........

Merged revisions 367976 from http://svn.asterisk.org/svn/asterisk/branches/1.8

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@367978 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/sig_pri.c
channels/sig_ss7.c