Files
asterisk/apps
Richard Mudgett aec1979e7f Remove potential deadlock in call pickup race.
Deadlock is possible in ast_do_pickup() when holding the target channel
lock and trying to get the chan channel lock.  Also, holding the target
lock when calling ast_channel_masquerade() is not a good idea because that
routine does deadlock avoidance.

* Removed the need to hold the target lock after marking the target with a
datastore and getting the connected line data off of the target channel.

* Moved can_pickup() to ast_can_pickup() in features.c.  Now all the call
pickup methods use the same basic call pickup availability check.

Review: https://reviewboard.asterisk.org/r/1234/


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@322749 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-06-09 16:31:53 +00:00
..
2010-07-14 15:48:36 +00:00
2010-07-14 15:48:36 +00:00
2010-03-02 19:39:58 +00:00
2011-05-03 21:41:11 +00:00
2009-08-10 19:20:57 +00:00
2009-08-10 19:20:57 +00:00
2010-07-14 15:48:36 +00:00
2010-07-14 15:48:36 +00:00
2010-01-13 16:31:14 +00:00
2009-08-10 19:20:57 +00:00
2010-07-14 15:48:36 +00:00
2010-07-14 15:48:36 +00:00