aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thunderbolt
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2019-08-02 13:26:12 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2019-08-07 21:56:41 -0400
commita86c71ba3022331f79662d7f12d1b25188c7e377 (patch)
treeb83b141c7001fbe5e33cffef89293e33081e952e /drivers/thunderbolt
parentscsi: qla2xxx: Fix possible fcport null-pointer dereferences (diff)
downloadlinux-dev-a86c71ba3022331f79662d7f12d1b25188c7e377.tar.xz
linux-dev-a86c71ba3022331f79662d7f12d1b25188c7e377.zip
scsi: lpfc: Fix crash when cpu count is 1 and null irq affinity mask
When a configurations runs with a single cpu (such as a kdump kernel), which causes the driver to request a single vector, when the driver subsequently requests an irq affinity mask, the mask comes back null. The driver currently does nothing in this scenario, which leaves mappings to hardware queues incomplete and crashes the system. Fix by recognizing the null mask and assigning the vector to the first cpu in the system. 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/thunderbolt')
0 files changed, 0 insertions, 0 deletions