summaryrefslogtreecommitdiff
path: root/tools/pci
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2017-06-15 22:56:48 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2017-06-19 21:40:44 -0400
commit11e644e2a2afa34a4d0ca896cf722572317b21ed (patch)
tree18d75de2f364a868031f59128f460644457c0b2c /tools/pci
parent569dbe84a3e769009aa4a5d1030d000168889580 (diff)
scsi: lpfc: Fix crash doing IO with resets
During every reset, IOCBs are allocated. So, at one point, number of allocated IOCBs reaches maximum limit and lpfc_sli_next_iotag fails. Allocate IOCBs only during initialization. Reuse them after every reset instead of allocating new set of IOCBs. Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by: James Smart <james.smart@broadcom.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/pci')
0 files changed, 0 insertions, 0 deletions