Merged revisions 319259 via svnmerge from
authorRichard Mudgett <rmudgett@digium.com>
Mon, 16 May 2011 20:41:31 +0000 (20:41 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Mon, 16 May 2011 20:41:31 +0000 (20:41 +0000)
commiteddc32a3b3ec28c27193757e79bacb81a2e7f337
tree0dc7b150ac0bd439e1ce6904a184210d48259672
parentd34d46a16ee2ccafb4503eefcb91c282b466a12a
Merged revisions 319259 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r319259 | rmudgett | 2011-05-16 15:33:37 -0500 (Mon, 16 May 2011) | 13 lines

  Deadlock between generic CCSS agent and native ISDN CCSS.

  Deadlock can occur when the generic CCSS agent is deleting duplicate CC
  offers and the native ISDN CC driver is processing an incoming CC message.
  The cc_core_instances container lock cannot be held when an agent or
  monitor callback is invoked without the possibility of a deadlock.

  * Make kill_duplicate_offers() remove the reference in cc_core_instances
  outside of the container lock.

  JIRA AST-566
  JIRA SWP-3469
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@319260 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/ccss.c