aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorBill Kuzeja <[email protected]>2019-02-14 10:52:29 -0500
committerMartin K. Petersen <[email protected]>2019-02-19 18:58:34 -0500
commitf233e8c000c6ff93481c8e867e06637c90e69a01 (patch)
tree89fdfcb2897b769c63210b462cb617d25621d4ff /lib/mpi/mpi-cmp.c
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 <[email protected]> Acked-by: Himanshu Madhani <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions