|
|
@@ -761,6 +761,11 @@ static void qedi_process_cmd_cleanup_resp(struct qedi_ctx *qedi,
|
|
|
|
|
|
iscsi_cid = cqe->conn_id;
|
|
|
qedi_conn = qedi->cid_que.conn_cid_tbl[iscsi_cid];
|
|
|
+ if (!qedi_conn) {
|
|
|
+ QEDI_INFO(&qedi->dbg_ctx, QEDI_LOG_INFO,
|
|
|
+ "icid not found 0x%x\n", cqe->conn_id);
|
|
|
+ return;
|
|
|
+ }
|
|
|
|
|
|
/* Based on this itt get the corresponding qedi_cmd */
|
|
|
spin_lock_bh(&qedi_conn->tmf_work_lock);
|