RE: [PATCH 4/5] nvmet-rdma: add a NVMe over Fabrics RDMA target driver

From: Hefty, Sean
Date: Tue Jun 14 2016 - 12:47:10 EST


> Am I correct here? IE: Is it ok for the rdma application to
> rdma_reject()

yes

> rmda_destroy_id() the CONNECT_REQUEST cm_id _inside_ its event handler

no

> as long
> as it returns 0?

The user can return a non-zero value from the cm handler to destroy the id.

- Sean