bridging: Ensure locking during snapshot creation
authorKinsey Moore <kmoore@digium.com>
Fri, 11 Apr 2014 12:43:34 +0000 (12:43 +0000)
committerKinsey Moore <kmoore@digium.com>
Fri, 11 Apr 2014 12:43:34 +0000 (12:43 +0000)
commitd6e2c50058de41eb80d7abc27786825cb65ddccf
tree1070269c9ad4edfc57a420b648c75a5408f4372f
parentf65dd23bf4fbb1cb909755ac3d36fc6aa9f709bb
bridging: Ensure locking during snapshot creation

While the vast majority of bridge snapshot creation is locked properly,
there are currently some instances that are not. This adds the missing
locking to ensure bridge state is not malleable during snapshot
creation.

(closes issue ASTERISK-22904)
Review: https://reviewboard.asterisk.org/r/3415/
Reported by: Matt Jordan
........

Merged revisions 412193 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@412194 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_confbridge.c
include/asterisk/stasis_bridges.h
main/bridge.c
main/bridge_basic.c
res/ari/resource_bridges.c
tests/test_cel.c