Frees a communication event.
#include <rdma/rdma_cma.h> int rdma_ack_cm_event(struct rdma_cm_event *event);
All events that are allocated by rdma_get_cm_event must be released. There must be a one-to-one correspondence between successful gets and acks. The rdma_ack_cm_event call frees the event structure and any memory that it references.
event | Specifies the event to be released. |
0 | On success. |
-EINVAL | If event is NULL. |