Use correct status value SCSI_BUSY (0x08) instead of XS_BUSY (7) when running
out of sessions. The bug had no impact as scsipi was only comparing against SCSI_CHECK (0x02) and SCSI_QUEUE_FULL (0x28).
This commit is contained in:
parent
4dd68cb09a
commit
7f0211635e
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: iscsi_main.c,v 1.41 2022/09/13 13:09:16 mlelstv Exp $ */
|
||||
/* $NetBSD: iscsi_main.c,v 1.42 2023/12/28 15:58:24 mlelstv Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2004,2005,2006,2011 The NetBSD Foundation, Inc.
|
||||
|
@ -490,7 +490,7 @@ iscsi_scsipi_request(struct scsipi_channel *chan, scsipi_adapter_req_t req,
|
|||
DEB(9, ("ISCSI: refcount too high: %d, winsize %d\n",
|
||||
sess->s_refcount, sess->s_send_window));
|
||||
xs->error = XS_BUSY;
|
||||
xs->status = XS_BUSY;
|
||||
xs->status = SCSI_BUSY;
|
||||
scsipi_done(xs);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue