|
@@ -902,6 +902,7 @@ int qedf_post_io_req(struct qedf_rport *fcport, struct qedf_ioreq *io_req)
|
|
|
if (!test_bit(QEDF_RPORT_SESSION_READY, &fcport->flags)) {
|
|
if (!test_bit(QEDF_RPORT_SESSION_READY, &fcport->flags)) {
|
|
|
QEDF_ERR(&(qedf->dbg_ctx), "Session not offloaded yet.\n");
|
|
QEDF_ERR(&(qedf->dbg_ctx), "Session not offloaded yet.\n");
|
|
|
kref_put(&io_req->refcount, qedf_release_cmd);
|
|
kref_put(&io_req->refcount, qedf_release_cmd);
|
|
|
|
|
+ return -EINVAL;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/* Obtain free SQE */
|
|
/* Obtain free SQE */
|