nvmf: call spdk_nvmf_request_complete on error (#123)
Calling spdk_nvmf_request_complete to complete spdk_nvmf_request causes some fields in completion queue entry not set correctly. Calling spdk_nvmf_request_complete fixes the problem.
This commit is contained in:
parent
2343b2ce22
commit
0ccb72c6da
@ -1505,7 +1505,7 @@ spdk_nvmf_rdma_poll(struct spdk_nvmf_conn *conn)
|
||||
}
|
||||
break;
|
||||
case SPDK_NVMF_REQUEST_PREP_ERROR:
|
||||
spdk_nvmf_rdma_request_complete(req);
|
||||
spdk_nvmf_request_complete(req);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user