diff options
| author | James Smart <jsmart2021@gmail.com> | 2018-11-29 16:09:32 -0800 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-12-07 22:35:32 -0500 |
| commit | 5a9eeff57f340238c39c95d8e7e54c96fc722de7 (patch) | |
| tree | f2073f16fb1c9fd2bed74791b7fe6828139a5865 /tools/perf/scripts/python | |
| parent | scsi: lpfc: Fix a duplicate 0711 log message number. (diff) | |
| download | linux-5a9eeff57f340238c39c95d8e7e54c96fc722de7.tar.gz linux-5a9eeff57f340238c39c95d8e7e54c96fc722de7.zip | |
scsi: lpfc: Fix kernel Oops due to null pring pointers
Driver is hitting null pring pointers in lpfc_do_work().
Pointer assignment occurs based on SLI-revision. If recovering after an
error, its possible the sli revision for the port was cleared, making the
lpfc_phba_elsring() not return a ring pointer, thus the null pointer.
Add SLI revision checking to lpfc_phba_elsring() and status checking to all
callers.
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
