Skip to content

Commit 8fedcc0

Browse files
committed
btl/am-rdma: Pass the correct pointer to get
The put over get implementation passed the wrong pointer to the cbdata of the get call, resulting in all kinds of badness when the get completed. This patch passes through the expected pointer. Signed-off-by: Brian Barrett <[email protected]>
1 parent d38ac4c commit 8fedcc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opal/mca/btl/base/btl_base_am_rdma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ static int am_rdma_target_put(mca_btl_base_module_t *btl,
701701
(struct mca_btl_base_registration_handle_t *) (*operation)->local_handle_data,
702702
(struct mca_btl_base_registration_handle_t *) (*operation)->remote_handle_data,
703703
hdr->data.rdma.size, /*flags=*/0, MCA_BTL_NO_ORDER, am_rdma_rdma_complete,
704-
operation, NULL);
704+
*operation, NULL);
705705
if (OPAL_SUCCESS != ret) {
706706
OBJ_RELEASE(*operation);
707707
}

0 commit comments

Comments
 (0)