Netdev List
 help / color / mirror / Atom feed
* [PATCH] tcp: Fix RFC reference in comment
@ 2015-01-13 21:10 Debabrata Banerjee
  2015-01-13 21:36 ` Yuchung Cheng
  0 siblings, 1 reply; 5+ messages in thread
From: Debabrata Banerjee @ 2015-01-13 21:10 UTC (permalink / raw)
  To: davem, netdev; +Cc: linux-kernel, Debabrata Banerjee

Comment in tcp_cwnd_restart() was referencing the wrong RFC for the algorithm
it's implementing.

Signed-off-by: Debabrata Banerjee <dbanerje@akamai.com>
---
 net/ipv4/tcp_output.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
index 65caf8b..0c13f88 100644
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -139,7 +139,7 @@ static __u16 tcp_advertise_mss(struct sock *sk)
 	return (__u16)mss;
 }
 
-/* RFC2861. Reset CWND after idle period longer RTO to "restart window".
+/* RFC2581 4.1. Reset CWND after idle period longer RTO to "restart window".
  * This is the first part of cwnd validation mechanism. */
 static void tcp_cwnd_restart(struct sock *sk, const struct dst_entry *dst)
 {
-- 
2.2.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-01-13 23:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-13 21:10 [PATCH] tcp: Fix RFC reference in comment Debabrata Banerjee
2015-01-13 21:36 ` Yuchung Cheng
2015-01-13 21:42   ` Banerjee, Debabrata
2015-01-13 22:01     ` John Heffner
2015-01-13 23:17       ` Banerjee, Debabrata

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