sctp: convert sctp_assoc_set_id() to use idr_alloc_cyclic()
authorJeff Layton <jlayton@redhat.com>
Mon, 29 Apr 2013 23:21:22 +0000 (16:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:41 +0000 (18:28 -0700)
commit713e00a324e49e8adee2753e1bb7bc3806bb53b6
treeb3928c45c44cf4dc9e54e870d429e656d73a7984
parenta66c04b4534f9b25e1241dff9a9d94dff9fd66f8
sctp: convert sctp_assoc_set_id() to use idr_alloc_cyclic()

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Cc: Vlad Yasevich <vyasevich@gmail.com>
Cc: Sridhar Samudrala <sri@us.ibm.com>
Cc: Neil Horman <nhorman@tuxdriver.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
net/sctp/associola.c