Skip to content

Commit 4f96827

Browse files
author
Christoph Hellwig
committed
Revert "be2iscsi: Fix processing cqe for cxn whose endpoint is freed"
This reverts commit 1120608. Based on comments from Mike Christie and Sony John-N.
1 parent 73d02c2 commit 4f96827

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

‎drivers/scsi/be2iscsi/be_main.c‎

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2110,16 +2110,6 @@ static unsigned int beiscsi_process_cq(struct be_eq_obj *pbe_eq)
21102110

21112111
cri_index = BE_GET_CRI_FROM_CID(cid);
21122112
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-
}
21232113
beiscsi_ep = ep->dd_data;
21242114
beiscsi_conn = beiscsi_ep->conn;
21252115

@@ -2229,7 +2219,6 @@ static unsigned int beiscsi_process_cq(struct be_eq_obj *pbe_eq)
22292219
break;
22302220
}
22312221

2232-
proc_next_cqe:
22332222
AMAP_SET_BITS(struct amap_sol_cqe, valid, sol, 0);
22342223
queue_tail_inc(cq);
22352224
sol = queue_tail_node(cq);

0 commit comments

Comments
 (0)