⬢ DragonFlyBSD Kernel Audit
DF-2263 / fix.diff
← back to finding ↓ download raw
--- a/sys/bus/cam/scsi/scsi_sa.c	2026-10-17 18:26:47.605472930 +0000
+++ b/sys/bus/cam/scsi/scsi_sa.c	2026-10-17 18:26:56.397360042 +0000
@@ -1622,6 +1622,7 @@
 				bp->b_error = 0;
 				if (bioq_first(&softc->bio_queue) != NULL) {
 					biodone(done_bio);
+					bio = bioq_first(&softc->bio_queue);
 					goto again;
 				}
 			} else if ((softc->flags & SA_FLAG_EIO_PENDING) != 0) {