diff options
author | Bhanu Prakash Gollapudi <bprakash@broadcom.com> | 2013-03-08 13:28:52 -0800 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-05-02 07:32:25 -0700 |
commit | 5d78f175d0983de8dc0010fcc7c8afc777d4b8ee (patch) | |
tree | c9f651d4339142448f3168e96c6d1f01395edb3e /drivers/scsi/bnx2fc/bnx2fc.h | |
parent | c13d2b6d3640d1ef180e40191178b4f1271982c1 (diff) | |
download | linux-stable-5d78f175d0983de8dc0010fcc7c8afc777d4b8ee.tar.gz linux-stable-5d78f175d0983de8dc0010fcc7c8afc777d4b8ee.tar.bz2 linux-stable-5d78f175d0983de8dc0010fcc7c8afc777d4b8ee.zip |
[SCSI] bnx2fc: Fix race condition between IO completion and abort
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>
Diffstat (limited to 'drivers/scsi/bnx2fc/bnx2fc.h')
0 files changed, 0 insertions, 0 deletions