]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Reentrancy problem if outgoing call gets different B channel than requested.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 11 Feb 2011 00:29:17 +0000 (00:29 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 11 Feb 2011 00:29:17 +0000 (00:29 +0000)
commit212f41ddf39a2d4515bc681731370ac6da9fad2d
tree3287afadcaa7e8ea60ace51e1084090dd2dae8a0
parentaf36e55080847cb9c550ea33f5f41234255104ef
Reentrancy problem if outgoing call gets different B channel than requested.

The chan_dahdi pri_fixup_principle() routine needs to protect the Asterisk
channel with the channel lock when it changes the technology private
pointer to a new private structure.

* Added lock protection while pri_fixup_principle() moves a call from one
private structure to another.

* Made some pri_fixup_principle() messages more meaningful.

Partial backport from v1.8 -r300714.

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