]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnx2fc: Handle SRR LS_ACC drop scenario
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Mon, 24 Oct 2011 06:23:57 +0000 (23:23 -0700)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 01:36:52 +0000 (09:36 +0800)
commit34808b6085f54f5631622f7a35d07462d551a2b4
tree9a82b5068c3d364f86e63c71470b52a6be01d0dc
parent39e78b5499f26e95515fa41933231e346f6e73ef
bnx2fc: Handle SRR LS_ACC drop scenario

When SRR LS_ACC is dropped, the driver was not issuing ABTS for SRR when it
times out. Since the target received SRR, it was able to send the XFER_RDY and
the the original IO request completed successfully. In this condition ABTS was
not sent during bnx2fc_srr_compl(). Fix this by first checking for ELS timeout
and issue ABTS before checking if original IO request is complete.

Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
(cherry picked from commit 32c30454507b4f5f00661ac12ddbcc150983b9ff)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/scsi/bnx2fc/bnx2fc_els.c