aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message/fusion/mptctl.c
diff options
context:
space:
mode:
authorChad Dupuis <[email protected]>2018-01-24 16:07:06 +0000
committerMartin K. Petersen <[email protected]>2018-01-31 02:27:02 +0000
commitecf7ff49945f5741fa1da112f994939f942031d3 (patch)
tree85156dc9b7a4cc33d5c58247ba1cacdf8b24b289 /drivers/message/fusion/mptctl.c
parentscsi: csiostor: remove redundant assignment to pointer 'ln' (diff)
downloadkernel-ecf7ff49945f5741fa1da112f994939f942031d3.tar.gz
kernel-ecf7ff49945f5741fa1da112f994939f942031d3.zip
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 <[email protected]> Reviewed-by: Laurence Oberman <[email protected]> Tested-by: Laurence Oberman <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/message/fusion/mptctl.c')
0 files changed, 0 insertions, 0 deletions