Skip to content

Commit 062ed9c

Browse files
committed
spml/yoda: fix support for BTLs that do not register memory in mca_spml_yoda_get()
Refs #2499 Signed-off-by: Gilles Gouaillardet <[email protected]>
1 parent 59f40e7 commit 062ed9c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

oshmem/mca/spml/yoda/spml_yoda.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,6 +1166,9 @@ int mca_spml_yoda_get(void* src_addr, size_t size, void* dst_addr, int src)
11661166
}
11671167

11681168
frag->local_handle = local_handle;
1169+
} else if (NULL == l_mkey) {
1170+
local_handle = NULL;
1171+
frag->local_handle = NULL;
11691172
} else {
11701173
local_handle = ((mca_spml_yoda_context_t*)l_mkey->spml_context)->registration;
11711174
frag->local_handle = NULL;

0 commit comments

Comments
 (0)