linux/net/sctp
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
..
associola.c sctp: prevent too-fast association id reuse 2009-11-23 15:54:01 -05:00
auth.c
bind_addr.c
chunk.c sctp: implement the sender side for SACK-IMMEDIATELY extension 2009-11-23 15:53:56 -05:00
command.c
debug.c
endpointola.c
input.c
inqueue.c
ipv6.c sctp: ipv6: avoid touching device refcount 2009-11-05 22:34:21 -08:00
Kconfig
Makefile
objcnt.c
output.c sctp: Fix mis-ordering of user space data when multihoming in use 2009-11-23 15:54:00 -05:00
outqueue.c sctp: Update max.burst implementation 2009-11-23 15:54:00 -05:00
primitive.c
proc.c
protocol.c sctp: Update SWS avaoidance receiver side algorithm 2009-11-23 15:53:57 -05:00
sm_make_chunk.c sctp: Fix malformed "Invalid Stream Identifier" error 2009-11-23 15:53:56 -05:00
sm_sideeffect.c sctp: Update SWS avaoidance receiver side algorithm 2009-11-23 15:53:57 -05:00
sm_statefuns.c sctp: Remove useless last_time_used variable 2009-11-23 15:53:58 -05:00
sm_statetable.c
socket.c sctp: limit maximum autoclose setsockopt value 2009-11-23 15:54:01 -05:00
ssnmap.c
sysctl.c sctp: Update SWS avaoidance receiver side algorithm 2009-11-23 15:53:57 -05:00
transport.c sctp: Update max.burst implementation 2009-11-23 15:54:00 -05:00
tsnmap.c
ulpevent.c
ulpqueue.c