]> git.baikalelectronics.ru Git - kernel.git/commit
[SCTP]: Rewrite of sctp buffer management code
authorNeil Horman <nhorman@tuxdriver.com>
Wed, 15 Aug 2007 23:07:44 +0000 (16:07 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:48:09 +0000 (16:48 -0700)
commit449424ac52d00b2ddda7c51bf16e95f9c63f8124
tree47e5bde0c37ed7ce68032ffa9110f252533fc710
parent554c3a514b7dd7c97c1488273e0aa2cee29bd56c
[SCTP]: Rewrite of sctp buffer management code

This patch introduces autotuning to the sctp buffer management code
similar to the TCP.  The buffer space can be grown if the advertised
receive window still has room.  This might happen if small message
sizes are used, which is common in telecom environmens.
New tunables are introduced that provide limits to buffer growth
and memory pressure is entered if to much buffer spaces is used.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/sctp.h
net/sctp/endpointola.c
net/sctp/protocol.c
net/sctp/sm_statefuns.c
net/sctp/socket.c
net/sctp/sysctl.c
net/sctp/ulpevent.c
net/sctp/ulpqueue.c