diff options
author | Russell Bryant <russell@russellbryant.com> | 2007-09-19 19:14:58 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2007-09-19 19:14:58 +0000 |
commit | 86e640bf77bc618f35185c407194db44ec0a3a3d (patch) | |
tree | 0454abead1f3f0ea72657c0d7a58aafca4c1887f /apps/app_system.c | |
parent | d65b2ac1ee93d04fd3ec292febdbf9b3cfdaa401 (diff) |
Merged revisions 83175 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r83175 | russell | 2007-09-19 14:13:29 -0500 (Wed, 19 Sep 2007) | 8 lines
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: https://origsvn.digium.com/svn/asterisk/trunk@83176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_system.c')
0 files changed, 0 insertions, 0 deletions