Vlad Yasevich 4814326b59 sctp: prevent too-fast association id reuse
We use the idr subsystem and always ask for an id
at or above 1.  This results in a id reuse when one
association is terminated while another is created.

To prevent re-use, we keep track of the last id returned
and ask for that id + 1 as a base for each query.  We let
the idr spin lock protect this base id as well.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
2009-11-23 15:54:01 -05:00
..
2009-11-02 08:43:45 -06:00
2009-05-25 01:53:53 -07:00
2009-11-10 22:27:13 -08:00
2009-11-22 20:43:13 -08:00
2009-09-26 20:16:15 -07:00
2009-07-12 12:22:34 -07:00