aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_scalable.c
diff options
context:
space:
mode:
authorYuchung Cheng <[email protected]>2017-08-04 03:38:51 +0000
committerDavid S. Miller <[email protected]>2017-08-07 04:25:10 +0000
commit4faf783998b8cb88294e9df89032f473f8771b78 (patch)
tree0ad450f18cbf6c23f23e9f181a4d4ee5c6a99b7a /net/ipv4/tcp_scalable.c
parentnet: systemport: Support 64bit statistics (diff)
downloadkernel-4faf783998b8cb88294e9df89032f473f8771b78.tar.gz
kernel-4faf783998b8cb88294e9df89032f473f8771b78.zip
tcp: fix cwnd undo in Reno and HTCP congestion controls
Using ssthresh to revert cwnd is less reliable when ssthresh is bounded to 2 packets. This patch uses an existing variable in TCP "prior_cwnd" that snapshots the cwnd right before entering fast recovery and RTO recovery in Reno. This fixes the issue discussed in netdev thread: "A buggy behavior for Linux TCP Reno and HTCP" https://www.spinics.net/lists/netdev/msg444955.html Suggested-by: Neal Cardwell <[email protected]> Reported-by: Wei Sun <[email protected]> Signed-off-by: Yuchung Cheng <[email protected]> Signed-off-by: Neal Cardwell <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_scalable.c')
0 files changed, 0 insertions, 0 deletions