kernel_optimize_test/drivers/scsi/bnx2fc
Chad Dupuis ecf7ff4994 scsi: bnx2fc: Fix check in SCSI completion handler for timed out request
When a request times out we set the io_req flag BNX2FC_FLAG_IO_COMPL so
that if a subsequent completion comes in on that task ID we will ignore
it.  The issue is that in the check for this flag there is a missing
return so we will continue to process a request which may have already
been returned to the ownership of the SCSI layer.  This can cause
unpredictable results.

Solution is to add in the missing return.

[mkp: typo plus title shortening]

Signed-off-by: Chad Dupuis <chad.dupuis@cavium.com>
Reviewed-by: Laurence Oberman <loberman@redhat.com>
Tested-by: Laurence Oberman <loberman@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-01-30 21:27:02 -05:00
..
57xx_hsi_bnx2fc.h
bnx2fc_constants.h
bnx2fc_debug.c
bnx2fc_debug.h
bnx2fc_els.c
bnx2fc_fcoe.c
bnx2fc_hwi.c scsi: bnx2fc: Use zeroing allocator rather than allocator/memset 2018-01-10 23:25:09 -05:00
bnx2fc_io.c scsi: bnx2fc: Fix check in SCSI completion handler for timed out request 2018-01-30 21:27:02 -05:00
bnx2fc_tgt.c scsi: bnx2fc: Use zeroing allocator rather than allocator/memset 2018-01-10 23:25:09 -05:00
bnx2fc.h
Kconfig
Makefile