]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: simpler NewReno implementation
authorYuchung Cheng <ycheng@google.com>
Wed, 16 May 2018 23:40:12 +0000 (16:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 May 2018 19:41:28 +0000 (15:41 -0400)
commit7662f8ff78e38f068a5ed778e694cbf77490c086
tree66759ad3e1deda045d5656bd794ac30e54611ca6
parentd28891f8926e8dddc68a5e04757740f201a4cf5c
tcp: simpler NewReno implementation

This is a rewrite of NewReno loss recovery implementation that is
simpler and standalone for readability and better performance by
using less states.

Note that NewReno refers to RFC6582 as a modification to the fast
recovery algorithm. It is used only if the connection does not
support SACK in Linux. It should not to be confused with the Reno
(AIMD) congestion control.

Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Soheil Hassas Yeganeh <soheil@google.com>
Reviewed-by: Priyaranjan Jha <priyarjha@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_input.c
net/ipv4/tcp_recovery.c