rdma_ack_cm_event — Free a communication event.
Synopsis
#include <rdma/rdma_cma.h>
int rdma_ack_cm_event (struct rdma_cm_event *event);
Arguments
- event
Event to be released.
Description
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 references.
Return Value
Returns 0 on success, or -1 on error. If an error occurs, errno will be set to indicate the failure reason.
See Also
Referenced By
rdma_cm(7), rdma_destroy_event_channel(3), rdma_destroy_id(3), rdma_get_cm_event(3).
2007-05-15 Librdmacm Programmer's Manual