sctp: Update SWS avaoidance receiver side algorithm
authorVlad Yasevich <vladislav.yasevich@hp.com>
Mon, 23 Nov 2009 20:53:57 +0000 (15:53 -0500)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Mon, 23 Nov 2009 20:53:57 +0000 (15:53 -0500)
commit90f2f5318b3a5b0898fef0fec9b91376c7de7a2c
tree33622d2b9e2064c36c17cd108c9b3a23af1fd6a4
parente0e9db178a5ba4dbb5f16f958f1affbdc63d2cc4
sctp: Update SWS avaoidance receiver side algorithm

We currently send window update SACKs every time we free up 1 PMTU
worth of data.  That a lot more SACKs then necessary.  Instead, we'll
now send back the actuall window every time we send a sack, and do
window-update SACKs when a fraction of the receive buffer has been
opened.  The fraction is controlled with a sysctl.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
include/net/sctp/constants.h
include/net/sctp/structs.h
net/sctp/associola.c
net/sctp/protocol.c
net/sctp/sm_sideeffect.c
net/sctp/sysctl.c