Skip to content

Commit 600b8c7

Browse files
committed
ulfm: endpoint->btl_eager can be empty when the dst has failed
Signed-off-by: Aurelien Bouteiller <bouteill@icl.utk.edu>
1 parent 60e82dd commit 600b8c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mca/pml/ob1/pml_ob1_isend.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ static inline int mca_pml_ob1_send_inline (const void *buf, size_t count,
8888
int rc;
8989

9090
bml_btl = mca_bml_base_btl_array_get_next(&endpoint->btl_eager);
91-
if( NULL == bml_btl->btl->btl_sendi)
91+
if( NULL == bml_btl || NULL == bml_btl->btl->btl_sendi)
9292
return OMPI_ERR_NOT_AVAILABLE;
9393

9494
ompi_datatype_type_size (datatype, &size);

0 commit comments

Comments
 (0)