diff options
author | James Smart <jsmart2021@gmail.com> | 2019-05-21 17:49:07 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-06-18 19:46:22 -0400 |
commit | 996a02aeb959414378ea6c620934450944f8c5db (patch) | |
tree | ee7b37efe0336a982ae68a71f4a10d1c9abce305 /drivers/pps/pps.c | |
parent | 657add4e5e15b4872e6a6c2dfca43bff1b0197b4 (diff) | |
download | linux-996a02aeb959414378ea6c620934450944f8c5db.tar.gz linux-996a02aeb959414378ea6c620934450944f8c5db.tar.bz2 linux-996a02aeb959414378ea6c620934450944f8c5db.zip |
scsi: lpfc: Fix fcp_rsp_len checking on lun reset
Issuing a LUN reset was resulting in a command failure which then escalated
to a host reset.
The FCP-4 spec allows fcp_rsp_len field to specify the number of valid
bytes of FCP_RSP_INFO, and the value could be 4 or 8. The driver is
allowing only a value of 8, thus it failed the command.
Revise the driver to allow 4 or 8.
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/pps/pps.c')
0 files changed, 0 insertions, 0 deletions