aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorSreekanth Reddy <[email protected]>2021-11-17 10:49:09 +0000
committerMartin K. Petersen <[email protected]>2021-11-19 03:25:06 +0000
commit0ee4ba13e09c9d9c1cb6abb59da8295d9952328b (patch)
tree65b5831f2a862a74601a0897140bec441604aece /tools/perf/util/scripting-engines/trace-event-perl.c
parentscsi: ufs: ufs-mediatek: Add put_device() after of_find_device_by_node() (diff)
downloadkernel-0ee4ba13e09c9d9c1cb6abb59da8295d9952328b.tar.gz
kernel-0ee4ba13e09c9d9c1cb6abb59da8295d9952328b.zip
scsi: mpt3sas: Fix kernel panic during drive powercycle test
While looping over shost's sdev list it is possible that one of the drives is getting removed and its sas_target object is freed but its sdev object remains intact. Consequently, a kernel panic can occur while the driver is trying to access the sas_address field of sas_target object without also checking the sas_target object for NULL. Link: https://lore.kernel.org/r/[email protected] Fixes: f92363d12359 ("[SCSI] mpt3sas: add new driver supporting 12GB SAS") Signed-off-by: Sreekanth Reddy <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions