Fix deadlock potential with some ast_indicate/ast_indicate_data calls.
authorRichard Mudgett <rmudgett@digium.com>
Wed, 14 Mar 2012 22:38:29 +0000 (22:38 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 14 Mar 2012 22:38:29 +0000 (22:38 +0000)
commit9b31bd3cd83b50e0843f42b70d5e111287fa8107
tree6f9fad87dcbdc947019dd82f930bb310f9df688a
parenta699bb72ad8d255c84998e97addd2e20ab3f6b7b
Fix deadlock potential with some ast_indicate/ast_indicate_data calls.

Calling ast_indicate()/ast_indicate_data() with the channel lock held can
result in a deadlock with a local channel because of how local channels
need to avoid deadlock.
........

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

Merged revisions 359453 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@359455 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_agent.c
include/asterisk/channel.h
main/channel.c