diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2010-07-13 10:31:55 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2010-07-13 10:31:55 +0000 |
commit | 3d5c42a871d30c4fb6ee6520b0c4c39ffa86fe18 (patch) | |
tree | 412437bd554480cfeb9e265bd7c7dea576f56268 /drivers/dahdi/digits.h | |
parent | d6035ac6ad1c10d867c57cd53e074fa521a537b0 (diff) |
Solve race xbus_populate
Fixes a crash resulting from a race between disconnecting and connecting
Astribanks (on multi-core systems)
* Use get_xbus()/put_xbus() arround xbus_populate(), so a disconnect
in the middle won't release the xbus too early.
* Aquire all XPDs before starting initialization and release them
after it finishes (so we don't have up/down races among XPDs)
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8886 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/digits.h')
0 files changed, 0 insertions, 0 deletions