rdma_ack_cm_event (3) - Linux Man Pages
rdma_ack_cm_event: Free a communication event.
rdma_ack_cm_event - Free a communication event.
(struct rdma_cm_event *event);
Event to be released.
All events which are allocated by rdma_get_cm_event must be released,
there should be a one-to-one correspondence between successful gets
and acks. This call frees the event structure and any memory that it
Returns 0 on success, or -1 on error. If an error occurs, errno will be
set to indicate the failure reason.