Skip to content

tcp: make undo_cwnd mandatory for congestion modules

Florian Westphal netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v11 patch 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tcp: add cwnd_undo functions to various tcp cc algorithmsnet/ipv4/tcp_highspeed.c net/ipv4/tcp_illinois.c net/ipv4/tcp_scalable.c +2 more+55 -10 replies
2/2tcp: make undo_cwnd mandatory for congestion modulesinclude/net/tcp.h net/ipv4/tcp_cong.c net/ipv4/tcp_dctcp.c +5 more+19 -60 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 next 0/2] tcp: make undo_cwnd mandatory for congestion modules

highspeed, illinois, scalable, veno and yeah congestion control algorithms don't provide a 'cwnd_undo' function. This makes the stack default to a 'reno undo' which doubles cwnd. However, the ssthresh implementation of these algorithms do not halve the slowstart threshold. This causes similar issue as the one fixed for dctcp in ce6dd23329b1e ("dctcp: avoid bogus doubling of cwnd after loss").

In light of this it seems better to remove the fallback and make undo_cwnd mandatory.

First patch fixes those spots where reno undo seems incorrect by providing .cwnd_undo functions, second patch removes the fallback.