Skip to content

Commit 0e818b0

Browse files
committed
oshmem: Fix segment reset
Do not clear pointer to segment context in shmem_ds_reset, as it can be used by the following segment_unlink call Signed-off-by: Mikhail Brinskii <mikhailb@nvidia.com>
1 parent 37222f7 commit 0e818b0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

oshmem/mca/sshmem/base/sshmem_base_wrappers.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ shmem_ds_reset(map_segment_t *ds_buf)
8888
ds_buf->mkeys_cache = NULL;
8989
ds_buf->mkeys = NULL;
9090
ds_buf->alloc_hints = 0;
91-
ds_buf->context = NULL;
9291
ds_buf->allocator = NULL;
9392
}
9493

0 commit comments

Comments
 (0)