[openib-general] Re: minor issue in SA query code

Sean Hefty mshefty at ichips.intel.com
Wed Jun 1 16:00:47 PDT 2005


Roland Dreier wrote:
>     Sean> It looks like there might be minor race issue in the SA
>     Sean> query code.  ib_sa_path_rec_get() and
>     Sean> ib_sa_mcmember_rec_query() both return
>     Sean> query->sa_query.id.  However, if a send completes
>     Sean> quickly, I think that it's possible that query could have
>     Sean> been freed.
> 
> I think this patch should fix it -- does this seem right to you?

It looks good to me.

- Sean



More information about the general mailing list