From: Bhanu Prakash Gollapudi Date: Tue, 30 Aug 2011 22:54:53 +0000 (-0700) Subject: [SCSI] bnx2fc: Fix FW assert during RSCN stress tests X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=a96e8e11635773dd88dbe1307f9482146cfe0562;p=deliverable%2Flinux.git [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 Signed-off-by: James Bottomley --- 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: