diff options
| author | Nigel Kirkland <nkirkland2304@gmail.com> | 2026-10-12 17:16:42 -0700 |
|---|---|---|
| committer | Martin K. Petersen (Oracle) <mkp@kernel.org> | 2026-10-13 23:38:58 -0400 |
| commit | 86866706d0a9bf0dc4261b6b05b7ec42459e5931 (patch) | |
| tree | c343e0ab6d4a40fb005e290c508146d11fc48d8a /tools/lib/python/kdoc/python_version.py | |
| parent | aef36d2e16f49e48e3569c547fe60edf5c2145a3 (diff) | |
| download | linux-next-86866706d0a9bf0dc4261b6b05b7ec42459e5931.tar.gz linux-next-86866706d0a9bf0dc4261b6b05b7ec42459e5931.zip | |
scsi: lpfc: Early return out of lpfc_els_abort() when HBA_SETUP flag is not set
It is possible that a dev_loss_tmo callback fires during an HBA reset.
The ELS pring structure is cleared by the HBA reset path and the
dev_loss_tmo callback executing lpfc_els_abort() could be using a stale
ELS pring pointer. To significantly reduce exposure, check if HBA_SETUP
flag is set before proceeding to use the ELS pring pointer in
lpfc_els_abort(). There is no point to issue aborts when the SLI port is
not setup anyways.
Signed-off-by: Nigel Kirkland <nkirkland2304@gmail.com>
Reveiwed-by: Ewan D. Milne <emilne@redhat.com>
Tested-by: Ewan D. Milne <emilne@redhat.com>
Link: https://patch.msgid.link/20261013001648.62289-3-nkirkland2304@gmail.com
Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
