From 55db17b37c9352db3fac401069d37278c6afe4fa Mon Sep 17 00:00:00 2001 From: Galen Shipman Date: Mon, 6 Nov 2006 23:25:24 +0000 Subject: [PATCH] don't try to use a dead btl.. This commit was SVN r12456. --- ompi/mca/pml/dr/pml_dr_vfrag.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ompi/mca/pml/dr/pml_dr_vfrag.c b/ompi/mca/pml/dr/pml_dr_vfrag.c index da1e01c1fc..75897640cc 100644 --- a/ompi/mca/pml/dr/pml_dr_vfrag.c +++ b/ompi/mca/pml/dr/pml_dr_vfrag.c @@ -88,7 +88,9 @@ static void mca_pml_dr_vfrag_wdog_timeout(int fd, short event, void* data) opal_output(0, "%s:%d:%s: failing already failed BTL", __FILE__, __LINE__, __func__); } mca_pml_dr_vfrag_reset(vfrag); - } + } else if(NULL == vfrag->bml_btl->btl) { + mca_pml_dr_vfrag_reset(vfrag); + } /* back off watchdog timer */ vfrag->vf_wdog_tv.tv_sec = @@ -129,6 +131,8 @@ static void mca_pml_dr_vfrag_ack_timeout(int fd, short event, void* data) opal_output(0, "%s:%d:%s: failing already failed BTL", __FILE__, __LINE__, __func__); } mca_pml_dr_vfrag_reset(vfrag); + } else if(NULL == vfrag->bml_btl->btl) { + mca_pml_dr_vfrag_reset(vfrag); } /* back off ack timer */