[openib-general] Re: [PATCH] reference counting added to ib_mad_agent

Hal Rosenstock halr at voltaire.com
Mon Sep 27 07:32:13 PDT 2004


On Fri, 2004-09-24 at 19:10, Sean Hefty wrote:
> This patch adds reference counting for MAD agents to protect 
> against deregistration while a callback is being invoked.  
> As part of the structure changes to support reference counting, 
> deregistration code has been simplified, and a bug has been fixed 
> where multiple port structures were being stored in the same 
> pointer.
> 
> Note that when sending MADs, the code currently holds a reference
> count from the time that the send is posted, until it completes 
> and is returned to the user.

Thanks! Applied. 

Please verify that the deregistration code is as desired as it was
rejected due to other changes than went on in between the patch being
applied. 

-- Hal




More information about the general mailing list