|
13 | 13 | * All rights reserved.
|
14 | 14 | * Copyright (c) 2009-2015 Cisco Systems, Inc. All rights reserved.
|
15 | 15 | * Copyright (c) 2011 Oak Ridge National Labs. All rights reserved.
|
16 |
| - * Copyright (c) 2013-2016 Intel, Inc. All rights reserved. |
| 16 | + * Copyright (c) 2013-2017 Intel, Inc. All rights reserved. |
17 | 17 | * Copyright (c) 2016 Research Organization for Information Science
|
18 | 18 | * and Technology (RIST). All rights reserved.
|
19 | 19 | * $COPYRIGHT$
|
@@ -283,7 +283,7 @@ static void process_send(int fd, short args, void *cbdata)
|
283 | 283 | /* try this again after a delay for N times */
|
284 | 284 | op->reps++;
|
285 | 285 | if (20 < op->reps) {
|
286 |
| - /* we don't know how to talk to this proc, |
| 286 | + /* we don't know how to talk to this proc, |
287 | 287 | * so send this back up to the OOB base so it
|
288 | 288 | * can try another transport
|
289 | 289 | */
|
@@ -326,6 +326,11 @@ static void process_send(int fd, short args, void *cbdata)
|
326 | 326 | */
|
327 | 327 | MCA_OOB_USOCK_QUEUE_PENDING(op->msg, peer);
|
328 | 328 |
|
| 329 | + /* if we are the HNP or daemon, we NEVER initiate connections */ |
| 330 | + if (ORTE_PROC_IS_HNP || ORTE_PROC_IS_DAEMON) { |
| 331 | + return; |
| 332 | + } |
| 333 | + |
329 | 334 | if (MCA_OOB_USOCK_CONNECTING != peer->state &&
|
330 | 335 | MCA_OOB_USOCK_CONNECT_ACK != peer->state) {
|
331 | 336 | /* we have to initiate the connection - again, we do not
|
|
0 commit comments