aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-09-19 19:13:29 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-09-19 19:13:29 +0000
commited2a3f719c79a1707656331dbdc39eace21fa515 (patch)
tree5aca927bc31869d1128b4d00979a67a18020587a /funcs
parentbe54c6301af330d8619524b01d1cf91d3f3e1c1a (diff)
When handling a reload of chan_iax2, don't use an ao2_callback() to POKE all
peers. Instead, use an iterator. By using an iterator, the peers container is not locked while the POKE is being done. It can cause a deadlock if the peers container is locked because poking a peer will try to lock pvt structs, while there is a lot of other code that will hold a pvt lock when trying to go lock the peers container. (reported to me directly by Loic Didelot. Thank you for the debug info!) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@83175 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
0 files changed, 0 insertions, 0 deletions