> spin_unlock_irqrestore(&cm.lock, flags); > + spin_unlock_irqrestore(&cm_id_priv->lock, flags);
This is broken -- you've used the same flags variable twice, overwriting it the second time. If you have nested spinlocks, then you only need to disable interrupts. In other words, the lock of cm.lock can become a straight spin_lock(), and unlock just spin_unlock(). - R. _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
