rdma_ack_cm_event(3)

rdma_ack_cm_event3

Free a communication event.

Usage

#include <rdma/rdma_cma.h>

int rdma_ack_cm_event (struct rdma_cm_event *event);

Arguments

event

Event to be released.

Overview

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.

Releases

Unchanged in 22 releases since FreeBSD 11.3-RELEASE.

  1. 11.3–16.0

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's man source.