summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bnx2fc
diff options
context:
space:
mode:
authorBhanu Prakash Gollapudi2011-08-31 00:54:53 +0200
committerJames Bottomley2011-09-17 21:10:00 +0200
commita96e8e11635773dd88dbe1307f9482146cfe0562 (patch)
tree787a187829ca85d60eb2bbb5d8f2370d244060b8 /drivers/scsi/bnx2fc
parent[SCSI] bnx2fc: Fix panic caused because of incorrect errror handling in creat... (diff)
downloadkernel-qcow2-linux-a96e8e11635773dd88dbe1307f9482146cfe0562.tar.gz
kernel-qcow2-linux-a96e8e11635773dd88dbe1307f9482146cfe0562.tar.xz
kernel-qcow2-linux-a96e8e11635773dd88dbe1307f9482146cfe0562.zip
[SCSI] bnx2fc: Fix FW assert during RSCN stress tests
Firmware asserts when the same CQE is armed twice. This scenario happens during RSCN stress tests as driver incorrects arms the CQ after the session is offloaded. Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bnx2fc')
-rw-r--r--drivers/scsi/bnx2fc/bnx2fc_tgt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/scsi/bnx2fc/bnx2fc_tgt.c b/drivers/scsi/bnx2fc/bnx2fc_tgt.c
index 2138da9571ac..c1800b531270 100644
--- a/drivers/scsi/bnx2fc/bnx2fc_tgt.c
+++ b/drivers/scsi/bnx2fc/bnx2fc_tgt.c
@@ -133,9 +133,7 @@ retry_ofld:
printk(KERN_ERR PFX "map doorbell failed - no mem\n");
/* upload will take care of cleaning up sess resc */
lport->tt.rport_logoff(rdata);
- } else
- /* Arm CQ */
- bnx2fc_arm_cq(tgt);
+ }
return;
ofld_err: