aboutsummaryrefslogtreecommitdiff
path: root/drivers/nvdimm
diff options
context:
space:
mode:
authorBill Kuzeja2019-02-14 10:52:29 -0500
committerMartin K. Petersen2019-02-19 18:58:34 -0500
commitf233e8c000c6ff93481c8e867e06637c90e69a01 (patch)
tree89fdfcb2897b769c63210b462cb617d25621d4ff /drivers/nvdimm
parent59e54d9aabc411e7d8628622526f38fad4a19b28 (diff)
scsi: qla2xxx: Move debug messages before sending srb preventing panic
When sending an srb with qla2x00_start_sp, the sp can complete and be freed by the time we log the debug message saying we sent it. This can cause a panic if sp gets reused quickly or when running a kernel that poisons freed memory. This was partially fixed by (not every case was addressed): Commit 9fe278f44b4b ("scsi: qla2xxx: Move log messages before issuing command to firmware") Signed-off-by: Bill Kuzeja <william.kuzeja@stratus.com> Acked-by: Himanshu Madhani <hmadhani@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/nvdimm')
0 files changed, 0 insertions, 0 deletions