summaryrefslogtreecommitdiffstats
path: root/net/sctp/objcnt.c
diff options
context:
space:
mode:
authorMarcelo Ricardo Leitner2017-06-24 00:59:35 +0200
committerDavid S. Miller2017-06-25 20:43:53 +0200
commit4ccbd0b0b9b8b09d87c7e7b0f868eda2bed03189 (patch)
treeeada21acf5a392e12a7a42fd5ec0fb64a6645780 /net/sctp/objcnt.c
parentsctp: allow increasing cwnd regardless of ctsn moving or not (diff)
downloadkernel-qcow2-linux-4ccbd0b0b9b8b09d87c7e7b0f868eda2bed03189.tar.gz
kernel-qcow2-linux-4ccbd0b0b9b8b09d87c7e7b0f868eda2bed03189.tar.xz
kernel-qcow2-linux-4ccbd0b0b9b8b09d87c7e7b0f868eda2bed03189.zip
sctp: adjust cwnd increase in Congestion Avoidance phase
RFC4960 Errata 3.26 identified that at the same time RFC4960 states that cwnd should never grow more than 1*MTU per RTT, Section 7.2.2 was underspecified and as described could allow increasing cwnd more than that. This patch updates it so partial_bytes_acked is maxed to cwnd if flight_size doesn't reach cwnd, protecting it from such case. See-also: https://tools.ietf.org/html/draft-ietf-tsvwg-rfc4960-errata-01#section-3.26 Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/objcnt.c')
0 files changed, 0 insertions, 0 deletions