Mercurial > illumos > illumos-gate
changeset 9962:2b6bca766b65
6829059 COMSTAR FC target is not able to be discovered in MPIO plugin on 2008
author | Wayne Ihde <Wayne.Ihde@Sun.COM> |
---|---|
date | Wed, 24 Jun 2009 13:36:16 -0600 |
parents | 90652b897931 |
children | d23f520cfd07 |
files | usr/src/uts/common/io/comstar/stmf/stmf.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/uts/common/io/comstar/stmf/stmf.c Wed Jun 24 12:04:27 2009 -0700 +++ b/usr/src/uts/common/io/comstar/stmf/stmf.c Wed Jun 24 13:36:16 2009 -0600 @@ -4521,7 +4521,11 @@ task->task_cmd_xfer_length; } - if (task->task_cmd_xfer_length < 16) { + if (task->task_cmd_xfer_length == 0) { + stmf_scsilib_send_status(task, STATUS_GOOD, 0); + return; + } + if (task->task_cmd_xfer_length < 4) { stmf_scsilib_send_status(task, STATUS_CHECK, STMF_SAA_INVALID_FIELD_IN_CDB); return;