]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: Fix missed locking of opposing pvt for directmedia acl from r366547
authorJonathan Rose <jrose@digium.com>
Thu, 17 May 2012 14:40:07 +0000 (14:40 +0000)
committerJonathan Rose <jrose@digium.com>
Thu, 17 May 2012 14:40:07 +0000 (14:40 +0000)
commita7733c579b25c8d5c30b77e76e21e5dc46a5420a
treeaafecef47a9979ba60aa5525819d75afc1c29e43
parent7eb528fbf14e2963072d4bcb45735fbd885964c3
chan_sip: Fix missed locking of opposing pvt for directmedia acl from r366547

It also required deadlock avoidance since two sip_pvts structs needed to be
locked simultaneously. Trunk handles it differently, so this is a 1.8 and 10
patch only.

(issue AST-876)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@366791 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c