[openib-general] [PATCH] Missing check for atomic_dec in ib_post_send_mad

Sean Hefty mshefty at ichips.intel.com
Tue Nov 2 10:21:26 PST 2004


On Tue, 2 Nov 2004 09:59:14 -0800 (PST)
Krishna Kumar <krkumar at us.ibm.com> wrote:

> Hi Sean,
> 
> I think that is the best approach. And using this method, we can also
> avoid holding the lock if solicited is set. I will send a patch in a
> few minutes if this approach looks good.

Sounds good.  

I think that you'll need to hold the lock even if solicited is set to
handle the case where a response is received after the sender
unregistered.

- Sean



More information about the general mailing list