Netdev List
 help / color / mirror / Atom feed
* [PATCH 2/3][v2] tcp: fix ICMP-RTO war: Change comment concerning lower RTO bound
@ 2010-01-29 22:15 Damian Lukowski
  0 siblings, 0 replies; only message in thread
From: Damian Lukowski @ 2010-01-29 22:15 UTC (permalink / raw)
  To: Netdev

The lower bound for TCP's RTO is checked by __tcp_set_rto() now.

Signed-off-by: Damian Lukowski <damian@tvk.rwth-aachen.de>
---
 net/ipv4/tcp_input.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index 28e0296..5866965 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -693,8 +693,8 @@ static inline void tcp_set_rto(struct sock *sk)
 	 *    with correct one. It is exactly, which we pretend to do.
 	 */
 
-	/* NOTE: clamping at TCP_RTO_MIN is not required, current algo
-	 * guarantees that rto is higher.
+	/* NOTE: clamping at TCP_RTO_MIN is not required,
+	 * this is now guaranteed by __tcp_set_rto()
 	 */
 	tcp_bound_rto(sk);
 }
-- 
1.6.4.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-29 22:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-29 22:15 [PATCH 2/3][v2] tcp: fix ICMP-RTO war: Change comment concerning lower RTO bound Damian Lukowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox