CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2020/08/18 10:30:38

Modified files:
        sys/scsi       : scsiconf.c 

Log message:
Try to avoid a theoretical infinite loop while detaching all the scsi_link's on
the bus. Use SLIST_FOREACH_SAFE() rather than 'while (!SLIST_EMPTY())'' as there
is a condition which would cause scsi_detach_link() to return without removing
the scsi_link from the SLIST.

Reply via email to