Skip to content

Commit 633da66

Browse files
committed
usnic: gracefully handle when we can't alloc an ACK
The comment didn't match the debugging code (which was ugly, and apparently never happens, anyway). Just return and let the sender retransmit.
1 parent 3327fa5 commit 633da66

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

opal/mca/btl/usnic/btl_usnic_ack.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,7 @@ opal_btl_usnic_ack_send(
201201
/* Get an ACK frag. If we don't get one, just discard this ACK. */
202202
ack = opal_btl_usnic_ack_segment_alloc(module);
203203
if (OPAL_UNLIKELY(NULL == ack)) {
204-
opal_output(0, "====================== No frag for sending the ACK -- skipped");
205-
abort();
204+
return;
206205
}
207206

208207
/* send the seq of the lowest item in the window that

0 commit comments

Comments
 (0)