Skip to content

Commit db45d61

Browse files
authored
Merge pull request #5147 from hppritcha/topic/plug_debug_hole_in_verbs
btl/openib: add conditional around an assert
2 parents a480e40 + 30eed9f commit db45d61

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

opal/mca/btl/openib/btl_openib_component.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3436,7 +3436,9 @@ progress_pending_frags_wqe(mca_btl_base_endpoint_t *ep, const int qpn)
34363436
frag = opal_list_remove_first(&ep->qps[qpn].no_wqe_pending_frags[i]);
34373437
if(NULL == frag)
34383438
break;
3439+
#if OPAL_ENABLE_DEBUG
34393440
assert(0 == frag->opal_list_item_refcount);
3441+
#endif
34403442
tmp_ep = to_com_frag(frag)->endpoint;
34413443
ret = mca_btl_openib_endpoint_post_send(tmp_ep, to_send_frag(frag));
34423444
if (OPAL_SUCCESS != ret) {

0 commit comments

Comments
 (0)