[openib-general] [PATCH] for-2.6.19 cma: protect against adding device during destruction

Or Gerlitz ogerlitz at voltaire.com
Tue Sep 12 01:43:18 PDT 2006


Or Gerlitz wrote:
> diff --git a/include/rdma/rdma_cm.h b/include/rdma/rdma_cm.h
> index 402c63d..b9e22c8 100644
> --- a/include/rdma/rdma_cm.h
> +++ b/include/rdma/rdma_cm.h
> @@ -117,6 +117,14 @@ struct rdma_cm_id {
>   struct rdma_cm_id *rdma_create_id(rdma_cm_event_handler event_handler,
>   				  void *context, enum rdma_port_space ps);
> 
> +/**
> + * rdma_destroy_id - Destroys an RDMA identifier.
> + *
> + * @id: RDMA identifier.
> + *
> + * Note: calling this function has the effect of canceling in-flight
> + * asynchronous operations associated with the id.
> + */
>   void rdma_destroy_id(struct rdma_cm_id *id);
> 
>   /**

Hi Sean,

Can you queue this for 2.6.19 ?

Or.





More information about the general mailing list