Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Oct 2015 05:29:33 +0000 (UTC)
From:      Hiren Panchasara <hiren@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r289288 - stable/10/sys/netinet
Message-ID:  <201510140529.t9E5TXPY018173@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hiren
Date: Wed Oct 14 05:29:33 2015
New Revision: 289288
URL: https://svnweb.freebsd.org/changeset/base/289288

Log:
  MFC r288914
  Add a comment specifying how we implement rfc3042.

Modified:
  stable/10/sys/netinet/tcp_input.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/netinet/tcp_input.c
==============================================================================
--- stable/10/sys/netinet/tcp_input.c	Wed Oct 14 05:16:56 2015	(r289287)
+++ stable/10/sys/netinet/tcp_input.c	Wed Oct 14 05:29:33 2015	(r289288)
@@ -2523,6 +2523,16 @@ tcp_do_segment(struct mbuf *m, struct tc
 						tp->snd_nxt = onxt;
 					goto drop;
 				} else if (V_tcp_do_rfc3042) {
+					/*
+					 * Process first and second duplicate
+					 * ACKs. Each indicates a segment
+					 * leaving the network, creating room
+					 * for more. Make sure we can send a
+					 * packet on reception of each duplicate
+					 * ACK by increasing snd_cwnd by one
+					 * segment. Restore the original
+					 * snd_cwnd after packet transmission.
+					 */
 					cc_ack_received(tp, th, CC_DUPACK);
 					u_long oldcwnd = tp->snd_cwnd;
 					tcp_seq oldsndmax = tp->snd_max;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510140529.t9E5TXPY018173>