Patch 2.6.32.33 to 2.6.32.35
/drivers/infiniband/core/cm.c
blob:5130fc55b8e2739f001389d2392dfd8e49b96125 -> blob:a5dea6bbd1a098531f0da577f1cd7f0df4d69a2f
--- drivers/infiniband/core/cm.c
+++ drivers/infiniband/core/cm.c
@@ -2986,6 +2986,7 @@ static int cm_sidr_req_handler(struct cm
goto out; /* No match. */
}
atomic_inc(&cur_cm_id_priv->refcount);
+ atomic_inc(&cm_id_priv->refcount);
spin_unlock_irq(&cm.lock);
cm_id_priv->id.cm_handler = cur_cm_id_priv->id.cm_handler;