Skip to content

tcp: fixes some congestion control corner cases

Yuchung Cheng netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tcp: add tcp_in_slow_start helperinclude/net/tcp.h net/ipv4/tcp_bic.c net/ipv4/tcp_cong.c +8 more+19 -140 replies
2/3tcp: do not slow start when cwnd equals ssthreshinclude/net/tcp.h net/ipv4/tcp_cdg.c net/ipv4/tcp_cong.c +1 more+4 -60 replies
3/3tcp: update congestion state first before raising cwndnet/ipv4/tcp_input.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 [PATCH net-next 0/3] tcp: fixes some congestion control corner cases

This patch series fixes corner cases of TCP congestion control. First issue is to avoid continuing slow start when cwnd reaches ssthresh. Second issue is incorrectly processing order of congestion state and cwnd update when entering fast recovery or undoing cwnd.

Yuchung Cheng (3):
tcp: add tcp_in_slow_start helper
tcp: do not slow start when cwnd equals ssthresh
tcp: update congestion state first before raising cwnd

 include/net/tcp.h        | 7 ++++++-
 net/ipv4/tcp_bic.c       | 2 +-
 net/ipv4/tcp_cdg.c       | 2 +-
 net/ipv4/tcp_cong.c      | 6 ++----
 net/ipv4/tcp_cubic.c     | 4 ++--
 net/ipv4/tcp_highspeed.c | 2 +-
 net/ipv4/tcp_htcp.c      | 2 +-
 net/ipv4/tcp_hybla.c     | 2 +-
 net/ipv4/tcp_illinois.c  | 2 +-
 net/ipv4/tcp_input.c     | 8 ++++----
 net/ipv4/tcp_metrics.c   | 2 +-
 net/ipv4/tcp_scalable.c  | 2 +-
 net/ipv4/tcp_vegas.c     | 6 +++---
 net/ipv4/tcp_veno.c      | 2 +-
 14 files changed, 26 insertions(+), 23 deletions(-)
Signature · 1 line
2.4.3.573.g4eafbef