git: kernel - Fix CAM unit allocation race
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Dec 1 18:56:39 PST 2017
commit 4a2f1c82cc2e9dc434b7c3ec666224d427816096
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Fri Dec 1 18:52:27 2017 -0800
kernel - Fix CAM unit allocation race
* Fix an issue where multiple targets can sometimes allocate the
same unit when probed asynchronously. The search and insertion
functions were being independently locked.
Summary of changes:
sys/bus/cam/cam_periph.c | 45 ++++++++++++++++++++++++++-------------------
1 file changed, 26 insertions(+), 19 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4a2f1c82cc2e9dc434b7c3ec666224d427816096
--
DragonFly BSD source repository
More information about the Commits
mailing list