Files
asterisk/channels
Richard Mudgett 78e1319a13 Deadlock between dahdi_request() and pri_dchannel() processing an incomming call.
The sig_pri_new_ast_channel() is called with the channel private lock held
when pri_dchannel() calls it and no channel private lock held when
dahdi_request() calls it.  The use of pri_grab() in
sig_pri_new_ast_channel() could leave the channel private lock held when
it returns if the lock was not held before calling it.

Make sig_pri_new_ast_channel() just lock the PRI span lock instead of
using pri_grab().  It is safe to do this because dahdi_request() does not
have the channel private lock and the deadlock potential with the PRI span
lock is only between pri_dchannel() and other threads.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@301946 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-01-14 21:09:57 +00:00
..
2010-11-29 20:46:03 +00:00
2009-08-10 19:20:57 +00:00
2010-11-29 20:46:03 +00:00
2011-01-14 17:32:52 +00:00
2010-07-14 15:48:36 +00:00
2009-08-10 19:20:57 +00:00
2010-06-07 20:04:42 +00:00
2010-12-20 09:14:29 +00:00