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

Michael S. Tsirkin mst at mellanox.co.il
Tue Sep 12 02:14:44 PDT 2006


Quoting r. Or Gerlitz <ogerlitz at voltaire.com>:
> Subject: Re: [PATCH] for-2.6.19 cma: protect against adding device during destruction
> 
> 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 ?

You might want to repost, with proper Signed-off-by line, subject and patch description.

Hint: git-applymbox seems to like mail in the following format:

Subject: [PATCH] IB/xx: .....

Short description - goes into message

Signed-off-by: xxxx

---

Long discussion - including requests for inclusion,
etc. Will be ignored by git.

diff .....
diff --git xxxxx
index yyyy
--- zzzzzzzzzzzzz
+++ zzzzzzzzzzzzz
@@ prqs
  Patch itself


Arbitrary discussion - will be ignored by git.

-- 
MST




More information about the general mailing list