diff options
author | James Smart <jsmart2021@gmail.com> | 2018-06-26 08:24:28 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-07-10 22:15:09 -0400 |
commit | 6871e8144f935a1f08e7fc6269c894861ce494aa (patch) | |
tree | 3e20f8aa74f567594113738b936c60e9c911b32b /drivers/scsi/lpfc/lpfc_scsi.c | |
parent | 66e9e6bf07cb0a2d4bbccebf6a6f1f27e6768e38 (diff) | |
download | linux-6871e8144f935a1f08e7fc6269c894861ce494aa.tar.bz2 |
scsi: lpfc: Fix NVME Target crash in defer rcv logic
Kernel occasionally crashed with the following
ops on NVME Target:
BUG: unable to handle kernel NULL pointer dereference at 0000000000000058
IP: [<ffffffffa042ee50>] lpfc_nvmet_defer_rcv+0x50/0x70 [lpfc]
Callback routine was called for deferred rcv when it should be treated as a
normal rcv.
Added code in callback routine to detect this condition and log a message,
then bail.
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_scsi.c')
0 files changed, 0 insertions, 0 deletions