This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / net / sctp / sm_make_chunk.c
index c2ca732..bd27e0e 100644 (file)
@@ -1846,8 +1846,9 @@ int sctp_process_init(struct sctp_association *asoc, sctp_cid_t cid,
                if (unlikely(!idr_pre_get(&sctp_assocs_id, gfp)))
                        goto clean_up;
                spin_lock_bh(&sctp_assocs_id_lock);
-               error = idr_get_new_above(&sctp_assocs_id, (void *)asoc, 1,
-                                         &assoc_id);
+               error = idr_get_new(&sctp_assocs_id,
+                                   (void *)asoc,
+                                   &assoc_id);
                spin_unlock_bh(&sctp_assocs_id_lock);
                if (error == -EAGAIN)
                        goto retry;