Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   scottr
Date:           Wed Sep 16 05:35:51 UTC 1998

Modified Files:
        src/sys/dev/scsipi: scsipi_base.c
Log Message:
Found a race in scsipi_execute_xs():  if an asynchronous transfer completes
(probably due to an interrupt) between the time it is scheduled and the
time we get around to setting the SCSI_ASYNCREQ flag, we can lose the xs.

Fix this by checking to see if the transfer has already completed after
the scsi_cmd function returns SUCCESSFULLY_QUEUED, and just return to the
caller if so.




Home | Main Index | Thread Index | Old Index