diff --git a/ompi/mca/btl/mx/btl_mx.c b/ompi/mca/btl/mx/btl_mx.c index 9a3956911d..89abd4673c 100644 --- a/ompi/mca/btl/mx/btl_mx.c +++ b/ompi/mca/btl/mx/btl_mx.c @@ -317,6 +317,9 @@ mca_btl_base_descriptor_t* mca_btl_mx_prepare_dst( struct mca_btl_base_module_t* return NULL; } + /* Allow the fragment to be recycled using the mca_btl_mx_free function */ + frag->tag = 0xff; + frag->base.des_dst = frag->segment; frag->base.des_dst_cnt = 1;