aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2014-06-02 03:52:52 -0400
committerChristoph Hellwig <hch@lst.de>2014-06-02 03:52:52 -0400
commit4f96827dd55981ec4bfcbc7584eb155bcd8d1849 (patch)
treec69472f0935b428dd4a7945cf547a6ae2464e031
parent73d02c200b0e43762eae7a81e7f36d14adb26a37 (diff)
Revert "be2iscsi: Fix processing cqe for cxn whose endpoint is freed"
This reverts commit 11206081ad895d83e717bfe23603168dc307d904. Based on comments from Mike Christie and Sony John-N.
-rw-r--r--drivers/scsi/be2iscsi/be_main.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c
index ac54cf55998f..554349029628 100644
--- a/drivers/scsi/be2iscsi/be_main.c
+++ b/drivers/scsi/be2iscsi/be_main.c
@@ -2110,16 +2110,6 @@ static unsigned int beiscsi_process_cq(struct be_eq_obj *pbe_eq)
2110 2110
2111 cri_index = BE_GET_CRI_FROM_CID(cid); 2111 cri_index = BE_GET_CRI_FROM_CID(cid);
2112 ep = phba->ep_array[cri_index]; 2112 ep = phba->ep_array[cri_index];
2113 if (unlikely(ep == NULL)) {
2114 /* connection has already been freed
2115 * just move on to next one
2116 */
2117 beiscsi_log(phba, KERN_WARNING,
2118 BEISCSI_LOG_INIT,
2119 "BM_%d : proc cqe of disconn ep: cid %d\n",
2120 cid);
2121 goto proc_next_cqe;
2122 }
2123 beiscsi_ep = ep->dd_data; 2113 beiscsi_ep = ep->dd_data;
2124 beiscsi_conn = beiscsi_ep->conn; 2114 beiscsi_conn = beiscsi_ep->conn;
2125 2115
@@ -2229,7 +2219,6 @@ static unsigned int beiscsi_process_cq(struct be_eq_obj *pbe_eq)
2229 break; 2219 break;
2230 } 2220 }
2231 2221
2232proc_next_cqe:
2233 AMAP_SET_BITS(struct amap_sol_cqe, valid, sol, 0); 2222 AMAP_SET_BITS(struct amap_sol_cqe, valid, sol, 0);
2234 queue_tail_inc(cq); 2223 queue_tail_inc(cq);
2235 sol = queue_tail_node(cq); 2224 sol = queue_tail_node(cq);