diff options
author | 2017-06-26 08:59:36 -0700 | |
---|---|---|
committer | 2017-06-27 21:39:10 -0400 | |
commit | 5c63daf67d4753f80883672d429ff7b6595ec2f4 (patch) | |
tree | 6a9654ef23b10f51a068734305b13af4ecd690df /tools/perf/scripts/python/export-to-postgresql.py | |
parent | scsi: bnx2fc: Adjust bnx2fc_npiv_create_vports for WWNNs from NVRAM that are zero. (diff) | |
download | linux-dev-5c63daf67d4753f80883672d429ff7b6595ec2f4.tar.xz linux-dev-5c63daf67d4753f80883672d429ff7b6595ec2f4.zip |
scsi: bnx2fc: If IO is still in cleanup then do not return to SCSI layer.
In eh_abort, driver is calling scsi->done() for a IO for which cleanup is
pending. As the IO is outstanding with the firmware, it may do DMA
associated with the IO. This may lead to heap corruption.
Do not complete the IO for which cleanup is still pending. Return failure
from eh_abort and let the SCSI-ml retry the IO.
Signed-off-by: Chad Dupuis <chad.dupuis@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions