diff options
author | James Smart <jsmart2021@gmail.com> | 2017-06-15 22:56:48 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-06-19 21:40:44 -0400 |
commit | 11e644e2a2afa34a4d0ca896cf722572317b21ed (patch) | |
tree | 18d75de2f364a868031f59128f460644457c0b2c /drivers/i2c | |
parent | 569dbe84a3e769009aa4a5d1030d000168889580 (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 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions