rdma_ack_cm_event

Frees a communication event.

Syntax

#include <rdma/rdma_cma.h>
int rdma_ack_cm_event(struct rdma_cm_event *event);

Description

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.

Parameters

event Specifies the event to be released.

Return Values

The rdma_ack_cm_event function returns the following values:
0 On success.
-EINVAL If event is NULL.
[ Feedback ]