There are no additional connection events to process for UD QPs
after calling rdma_accept(). When using synchronous rdma_cm_id's,
simply return to the user after sending the reply. Do not wait
for additional events.
This fixes a hang on the server side when setting up UD QP
communication.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
return (ret >= 0) ? ERR(ENODATA) : -1;
}
+ if (ucma_is_ud_qp(id->qp_type))
+ return 0;
+
return ucma_complete(id_priv);
}