[openib-general] Re: [PATCH] cm refcount race fix

Roland Dreier rdreier at cisco.com
Mon May 8 08:53:01 PDT 2006


 > +	/* Make sure cm_deref_id is not in progress */
 > +	spin_lock_irq(&cm_id_priv->lock);
 > +	spin_unlock_irq(&cm_id_priv->lock);

How does this help anything?  cm_deref_id() can still be in progress,
it just can't hold the lock during this empty section of code.

 - R.



More information about the general mailing list