diff options
| author | James Smart <jsmart2021@gmail.com> | 2017-06-01 21:07:05 -0700 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-06-12 21:37:31 -0400 |
| commit | b83d005e63ba2383738c1818691e973761d1e860 (patch) | |
| tree | 5aa1a047bc3fb014166e41b58c25a0dc31c72101 /tools/perf/scripts/python | |
| parent | scsi: lpfc: Fix crash on powering off BFS VM with passthrough device (diff) | |
| download | linux-b83d005e63ba2383738c1818691e973761d1e860.tar.gz linux-b83d005e63ba2383738c1818691e973761d1e860.zip | |
scsi: lpfc: Fix System panic after loading the driver
System panic with general protection fault during driver load
The driver uses a static array sli4_hba.handler_name to store the irq
handler names. If the io_channel_irqs exceeds the pre-allocated size
(32+1), then the driver will overwrite other fields of sli4_hba.
Fix: Dynamically allocate handler_name.
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
