diff --git a/orte/mca/oob/usock/oob_usock.c b/orte/mca/oob/usock/oob_usock.c index 2f88abda0f..9992e62a97 100644 --- a/orte/mca/oob/usock/oob_usock.c +++ b/orte/mca/oob/usock/oob_usock.c @@ -316,6 +316,10 @@ static void process_send(int fd, short args, void *cbdata) goto cleanup; } + if (MCA_OOB_USOCK_CLOSED == peer->state) { + /* the peer has gone, it will never come back */ + goto cleanup; + } /* add the message to the queue for sending after the * connection is formed */