Files
asterisk/channels
Alec L Davis 73254a28cb Fix Deadlock with attended transfer of SIP call
Call path 
  sip_set_rtp_peer (locks chan then pvt)
   transmit_reinvite_with_sdp
    try_suggested_sip_codec
     pbx_builtin_getvar_helper (locks p->owner)

But by the time p->owner lock was attempted, seems as though chan and p->owner were different.

So in sip_set_rtp_peer, lock pvt first then lock p->owner using deadlocking methods.

(closes issue #18837)
Reported by: alecdavis
Patches: 
      bug18837-trunk.diff3.txt uploaded by alecdavis (license 585)
Tested by: alecdavis, Irontec, ZX81, cmaj

Review: [https://reviewboard.asterisk.org/r/1126/]



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@308945 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-02-25 18:52:53 +00:00
..
2010-11-29 20:46:03 +00:00
2009-08-10 19:20:57 +00:00
2010-11-29 20:46:03 +00:00
2010-07-14 15:48:36 +00:00
2009-08-10 19:20:57 +00:00
2010-06-07 20:04:42 +00:00