[SCSI] bnx2fc: Fix race condition between IO completion and abort
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Fri, 8 Mar 2013 21:28:52 +0000 (13:28 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 2 May 2013 14:32:25 +0000 (07:32 -0700)
When IO is successfully completed while an abort is pending, eh_abort
incorrectly assumes that abort failed and performes recovery by issuing
cleanup. Howerver, cleanup timesout as the firmware has no clue about
this IO. Fix this by checking if the IO has already completed.

Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>

No differences found