From 543338c0704fda045fca4109cf1aa9b80b8575f0 Mon Sep 17 00:00:00 2001 From: Mitch Sukalski Date: Wed, 15 Dec 2004 20:28:10 +0000 Subject: [PATCH] more fixes This commit was SVN r3826. --- src/mca/ptl/ib/src/ptl_ib_memory.c | 1 + src/mca/ptl/ib/src/ptl_ib_sendfrag.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mca/ptl/ib/src/ptl_ib_memory.c b/src/mca/ptl/ib/src/ptl_ib_memory.c index f5707d54d8..1e2bfe1efe 100644 --- a/src/mca/ptl/ib/src/ptl_ib_memory.c +++ b/src/mca/ptl/ib/src/ptl_ib_memory.c @@ -142,6 +142,7 @@ mca_ptl_ib_mem_registry_info_t *mca_ptl_ib_mem_registry_register( /* create new entry and register memory region */ item = (ompi_list_item_t *)info; OMPI_FREE_LIST_GET(&(registry->info_free_list), item, rc); + info = (mca_ptl_ib_mem_registry_info_t *)item; if (OMPI_SUCCESS != rc) { /* error - return null pointer */ return info; diff --git a/src/mca/ptl/ib/src/ptl_ib_sendfrag.c b/src/mca/ptl/ib/src/ptl_ib_sendfrag.c index f49c73bf7a..e625331ef3 100644 --- a/src/mca/ptl/ib/src/ptl_ib_sendfrag.c +++ b/src/mca/ptl/ib/src/ptl_ib_sendfrag.c @@ -323,7 +323,7 @@ void mca_ptl_ib_process_send_comp(mca_ptl_base_module_t *module, module->ptl_send_progress(module, sendfrag->frag_send.frag_request, - header->hdr_frag.hdr_frag_length); + header->hdr_rndv.hdr_frag_length); /* Return sendfrag to free list */ B_PRINT("Return frag : %p", sendfrag);