[openib-general] possible race in mthca_alloc_sqp

Roland Dreier roland at topspin.com
Wed Jan 26 09:02:58 PST 2005


    Michael> Hi!  Since mthca_alloc_sqp does not do mthca_array_set as
    Michael> the last thing, this means that for a while there is an
    Michael> incomplete entry in the array.  So anyone looking it up
    Michael> will get an invalid sqp.  Is this a bug? Looks like one.

I don't think so.  The only things that could cause a lookup in the QP
table are async and completion events, and neither of these can occur
until the QP is fully set up.

 - R.



More information about the general mailing list