]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Merged revisions 269307 via svnmerge from
authorJeff Peeler <jpeeler@digium.com>
Fri, 18 Jun 2010 18:40:34 +0000 (18:40 +0000)
committerJeff Peeler <jpeeler@digium.com>
Fri, 18 Jun 2010 18:40:34 +0000 (18:40 +0000)
commit0c42300447801e326c534642e8050e043fbe16d3
tree112b2166e5e924973cd7d4ad1e986605a47024f5
parent7b22456daf07694950ee4b054235771898c73b9f
Merged revisions 269307 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r269307 | rmudgett | 2010-06-09 11:54:38 -0500 (Wed, 09 Jun 2010) | 12 lines

  Eliminate deadlock potential in dahdi_fixup().

  Calling dahdi_indicate() within dahdi_fixup() while the owner pointers are
  in a potentially inconsistent state is a potentially bad thing in
  principle.

  However, calling dahdi_indicate() when the channel private lock is already
  held can cause a deadlock if the PRI lock is needed because
  dahdi_indicate() will also get the channel private lock.  The pri_grab()
  function assumes that the channel private lock is held once to avoid
  deadlock.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@271338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_dahdi.c