mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
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> |
History
|
|
|---|---|---|
| .. | ||
| 57xx_hsi_bnx2fc.h | ||
| bnx2fc.h | ||
| bnx2fc_constants.h | ||
| bnx2fc_debug.c | ||
| bnx2fc_debug.h | ||
| bnx2fc_els.c | ||
| bnx2fc_fcoe.c | ||
| bnx2fc_hwi.c | ||
| bnx2fc_io.c | ||
| bnx2fc_tgt.c | ||
| Kconfig | ||
| Makefile | ||