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

Sean Hefty sean.hefty at intel.com
Tue Sep 12 09:03:33 PDT 2006


>> Can you queue this for 2.6.19 ?

Roland, can you pull this patch in for 2.6.19?  It's SVN check-in 9273.
---

Clarify that rdma_destroy_id cancels outstanding asynchronous operations on the
Associated id.

Signed-off-by: Or Gerlitz <ogerlitz at voltaire.com>
Signed-off-by: Sean Hefty <sean.hefty at intel.com>

Index: rdma_cm.h
===================================================================
--- rdma_cm.h	(revision 9272)
+++ rdma_cm.h	(revision 9273)
@@ -126,6 +126,14 @@
 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);
 
 /**





More information about the general mailing list