summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip/irq-ath79-cpu.c
diff options
context:
space:
mode:
authorDick Kennedy <dick.kennedy@broadcom.com>2017-09-30 02:34:30 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2017-10-03 04:46:34 +0200
commit2b75d0f93451bc6e11cf9af06e1bf770222c271d (patch)
tree3d9fde1591dd581c2340d324d073f73188bcb612 /drivers/irqchip/irq-ath79-cpu.c
parentscsi: lpfc: Fix crash receiving ELS while detaching driver (diff)
downloadlinux-2b75d0f93451bc6e11cf9af06e1bf770222c271d.tar.xz
linux-2b75d0f93451bc6e11cf9af06e1bf770222c271d.zip
scsi: lpfc: Fix lpfc nvme host rejecting IO with Not Ready message
In a link bounce scenario, a condition can occur where the discovery engine swaps an ndlp structure (address change for an nport). While the swap was successfully executed by the discovery engine, the driver did not properly detect a change in the ndlp bound to the nvme rport. This error resulted in the nvme host transport issuing an IO to the correct nvme rport, but the lpfc driver addressed a ndlp with an NLP_UNUSED status and failed the io. This resulting it it looking like there were missing namespaces and applications failed due to io errors. To fix, in lpfc_nvme_register_rport, rework the "rebind" case to break the nvme rport<->ndlp association when the ndlp already has an nrport. Then rebind the rport to the correct ndlp data and backpointers. [mkp: typo] Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by: James Smart <james.smart@broadcom.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/irqchip/irq-ath79-cpu.c')
0 files changed, 0 insertions, 0 deletions