Skip to content

Commit

Permalink
Merge pull request #1620 from artpol84/ep_destroy_fix
Browse files Browse the repository at this point in the history
Fix ucp_ep_destroy
  • Loading branch information
yosefe authored Jun 17, 2017
2 parents 18e9923 + 6e62c0c commit ad76066
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/uct/ib/rc/base/rc_ep.c
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@ void uct_rc_txqp_purge_outstanding(uct_rc_txqp_t *txqp, ucs_status_t status,
uct_invoke_completion(op->user_comp, status);
}
}
op->flags &= ~UCT_RC_IFACE_SEND_OP_FLAG_INUSE;
if (op->handler == uct_rc_ep_send_op_completion_handler) {
uct_rc_iface_put_send_op(op);
} else {
Expand Down
2 changes: 1 addition & 1 deletion src/uct/ib/rc/base/rc_iface.h
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ static UCS_F_ALWAYS_INLINE void
uct_rc_iface_put_send_op(uct_rc_iface_send_op_t *op)
{
uct_rc_iface_t *iface = op->iface;
ucs_assert(op->flags & UCT_RC_IFACE_SEND_OP_FLAG_IFACE);
ucs_assert(op->flags == UCT_RC_IFACE_SEND_OP_FLAG_IFACE);
op->next = iface->tx.free_ops;
iface->tx.free_ops = op;
}
Expand Down

0 comments on commit ad76066

Please sign in to comment.