summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2022-07-09 14:20:47 -0400
committerGarrett D'Amore <garrett@damore.org>2022-07-10 22:48:39 -0400
commit06d7f587729595e6085b8b33777ff119f3a9b767 (patch)
treeb120714d86a2e352ef20949dac44d9dc75fa99a6
parentc0586b874d9179e81ca8a124fa6caf98fddb7696 (diff)
downloadillumos-joyent-06d7f587729595e6085b8b33777ff119f3a9b767.tar.gz
14785 vioscsi timeout list insertion error
Reviewed by: Joshua M. Clulow <josh@sysmgr.org> Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Richard Lowe <richlowe@richlowe.net>
-rw-r--r--usr/src/uts/common/io/vioscsi/vioscsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/vioscsi/vioscsi.c b/usr/src/uts/common/io/vioscsi/vioscsi.c
index c647740672..0c83b33489 100644
--- a/usr/src/uts/common/io/vioscsi/vioscsi.c
+++ b/usr/src/uts/common/io/vioscsi/vioscsi.c
@@ -467,7 +467,7 @@ vioscsi_tran_start(struct scsi_address *ap, struct scsi_pkt *pkt)
/*
* List empty, or this one expires before others:
*/
- list_insert_tail(l, req);
+ list_insert_head(l, req);
}
if (vd->vd_timeout == 0) {
vd->vd_timeout = timeout(vioscsi_dev_timeout, vd,