aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJames Smart <[email protected]>2019-11-04 16:57:00 -0800
committerMartin K. Petersen <[email protected]>2019-11-06 00:04:03 -0500
commit6c1e803eac846f886cd35131e6516fc51a8414b9 (patch)
tree50060f8409764300c79fa2db0a75c567bd961933 /tools/perf/scripts/python/stackcollapse.py
parent6bfb1620829825c01e1dcdd63b6a7700352babd9 (diff)
scsi: lpfc: Fix kernel crash at lpfc_nvme_info_show during remote port bounce
When reading sysfs nvme_info file while a remote port leaves and comes back, a NULL pointer is encountered. The issue is due to ndlp list corruption as the the nvme_info_show does not use the same lock as the rest of the code. Correct by removing the rcu_xxx_lock calls and replace by the host_lock and phba->hbaLock spinlocks that are used by the rest of the driver. Given we're called from sysfs, we are safe to use _irq rather than _irqsave. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dick Kennedy <[email protected]> Signed-off-by: James Smart <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions