aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJames Smart <[email protected]>2021-12-03 16:26:38 -0800
committerMartin K. Petersen <[email protected]>2021-12-06 22:35:36 -0500
commit7576d48c64f36f6fea9df2882f710a474fa35f40 (patch)
tree680c1a131575fd7a97e992266896b51c4734b15a /scripts
parent2e81b1a374da5d6024208c16c4a5224a70cafa64 (diff)
scsi: lpfc: Fix lpfc_force_rscn ndlp kref imbalance
Issuing lpfc_force_rscn twice results in an ndlp kref use-after-free call trace. A prior patch reworked the get/put handling by ensuring nlp_get was done before WQE submission and a put was done in the completion path. Unfortunately, the issue_els_rscn path had a piece of legacy code that did a nlp_put, causing an imbalance on the ref counts. Fixed by removing the unnecessary legacy code snippet. Link: https://lore.kernel.org/r/[email protected] Fixes: 4430f7fd09ec ("scsi: lpfc: Rework locations of ndlp reference taking") Cc: <[email protected]> # v5.11+ Co-developed-by: Justin Tee <[email protected]> Signed-off-by: Justin Tee <[email protected]> Signed-off-by: James Smart <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions