diff options
author | Richard Mudgett <rmudgett@digium.com> | 2010-06-09 16:54:38 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2010-06-09 16:54:38 +0000 |
commit | 6c6260d4c7cbc38ff872eea390a2fd83d094c270 (patch) | |
tree | 393a63bcada3a4fde71a707ed9aa921c3afbf3ba /channels/console_gui.c | |
parent | e98835e43780e92cced22ad1ae8a66e7f4b7672e (diff) |
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/trunk@269307 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/console_gui.c')
0 files changed, 0 insertions, 0 deletions