Skip to content

Commit 94bab63

Browse files
authored
Merge pull request #9892 from abouteiller/bugfix/ulfm/send-inline-noendpoint
endpoint->btl_eager can be empty when the dst has failed
2 parents 0d39831 + 600b8c7 commit 94bab63

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
@@ -86,7 +86,7 @@ static inline int mca_pml_ob1_send_inline (const void *buf, size_t count,
8686
int rc;
8787

8888
bml_btl = mca_bml_base_btl_array_get_next(&endpoint->btl_eager);
89-
if( NULL == bml_btl->btl->btl_sendi)
89+
if( NULL == bml_btl || NULL == bml_btl->btl->btl_sendi)
9090
return OMPI_ERR_NOT_AVAILABLE;
9191

9292
ompi_datatype_type_size (datatype, &size);

0 commit comments

Comments
 (0)