ip6mr: fix a typo in ip6mr_for_each_table()
[safe/jmp/linux-2.6] / net / rds / ib_cm.c
index 10ed0d5..f688327 100644 (file)
@@ -475,6 +475,7 @@ int rds_ib_cm_handle_connect(struct rdma_cm_id *cm_id,
        err = rds_ib_setup_qp(conn);
        if (err) {
                rds_ib_conn_error(conn, "rds_ib_setup_qp failed (%d)\n", err);
+               mutex_unlock(&conn->c_cm_lock);
                goto out;
        }