diff options
author | Christoph Hellwig <hch@lst.de> | 2014-06-02 07:52:52 (GMT) |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-06-02 07:52:52 (GMT) |
commit | 4f96827dd55981ec4bfcbc7584eb155bcd8d1849 (patch) | |
tree | c69472f0935b428dd4a7945cf547a6ae2464e031 /drivers/scsi | |
parent | 73d02c200b0e43762eae7a81e7f36d14adb26a37 (diff) | |
download | linux-4f96827dd55981ec4bfcbc7584eb155bcd8d1849.tar.xz |
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.
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/be2iscsi/be_main.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c index ac54cf5..5543490 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) cri_index = BE_GET_CRI_FROM_CID(cid); ep = phba->ep_array[cri_index]; - if (unlikely(ep == NULL)) { - /* connection has already been freed - * just move on to next one - */ - beiscsi_log(phba, KERN_WARNING, - BEISCSI_LOG_INIT, - "BM_%d : proc cqe of disconn ep: cid %d\n", - cid); - goto proc_next_cqe; - } beiscsi_ep = ep->dd_data; beiscsi_conn = beiscsi_ep->conn; @@ -2229,7 +2219,6 @@ static unsigned int beiscsi_process_cq(struct be_eq_obj *pbe_eq) break; } -proc_next_cqe: AMAP_SET_BITS(struct amap_sol_cqe, valid, sol, 0); queue_tail_inc(cq); sol = queue_tail_node(cq); |