Skip to content

RFC TCP congestion control RTT patches

Stephen Hemminger netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3TCP: congestion control API pass RTT in microsecondsinclude/net/tcp.h net/ipv4/tcp_bic.c net/ipv4/tcp_cubic.c +9 more+39 -290 replies
2/3TCP: cubic - eliminate use of receive time stampnet/ipv4/tcp_cubic.c+18 -281 reply
3/3TCP: htcp - use measured rttnet/ipv4/tcp_htcp.c+4 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/3] TCP congestion control RTT patches

These patches deal with issues brought up by Gavin McCullagh about reactions of Cubic and HTCP to hostile receivers that return bogus timestamp options. In a couple of places the timestamp value is used in ways that could cause unfairness.

The solution in these patches is to only use local values to measure RTT for congestion control. The timestamp is still used as described in RFC's to measure RTT used for retransmit timer.

This code is preliminary and not throughly tested yet. It could be backported to 2.6.22 for stable kernels, but it would be hard to go back to earlier kernels because it builds on the recent TCP congestion control API changes.