summaryrefslogtreecommitdiff
path: root/drivers/dahdi/dahdi-base.c
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2012-04-03 20:10:20 +0000
committerShaun Ruffell <sruffell@digium.com>2012-04-03 20:10:20 +0000
commita1f0bc9a642394fd4e0667141392350151e962fd (patch)
treebe80dc8574a312b234dde7f04a7c2f2f30e5965f /drivers/dahdi/dahdi-base.c
parentc40a35924b218bf1f57f1e01fc79ed90d78279a7 (diff)
dahdi_dynamic_loc: Change and check the dyn->pvt pointer under lock.
Fixes a crash on unload if the sync_tick callback was running at the same time the dynamic local span was destroyed. It was possible for dahdi_dynamic_local_transmit to dereference a pointer that may have already been freed. Signed-off-by: Shaun Ruffell <sruffell@digium.com> Origin: http://svnview.digium.com/svn/dahdi?view=rev&rev=10627 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.6@10632 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/dahdi-base.c')
0 files changed, 0 insertions, 0 deletions