We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9b73e8a + 2a4bc0c commit f3edfaaCopy full SHA for f3edfaa
ompi/mca/pml/ob1/pml_ob1_recvreq.c
@@ -330,7 +330,9 @@ static int mca_pml_ob1_recv_request_get_frag_failed (mca_pml_ob1_rdma_frag_t *fr
330
if (OMPI_ERR_NOT_AVAILABLE == rc) {
331
/* get isn't supported for this transfer. tell peer to fallback on put */
332
rc = mca_pml_ob1_recv_request_put_frag (frag);
333
- if (OMPI_ERR_OUT_OF_RESOURCE == rc) {
+ if (OMPI_SUCCESS == rc){
334
+ return OMPI_SUCCESS;
335
+ } else if (OMPI_ERR_OUT_OF_RESOURCE == rc) {
336
OPAL_THREAD_LOCK(&mca_pml_ob1.lock);
337
opal_list_append (&mca_pml_ob1.rdma_pending, (opal_list_item_t*)frag);
338
OPAL_THREAD_UNLOCK(&mca_pml_ob1.lock);
0 commit comments