Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jan 2014 03:16:22 +0000 (UTC)
From:      Peter Wemm <peter@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: r260434 - stable/10/sys/netinet
Message-ID:  <201401080316.s083GMfF046259@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: peter
Date: Wed Jan  8 03:16:21 2014
New Revision: 260434
URL: http://svnweb.freebsd.org/changeset/base/260434

Log:
  Revert MFC of r258821 - it was already handled by MFC of r239672.
  
  Pointy hat to: peter

Modified:
  stable/10/sys/netinet/tcp_input.c

Modified: stable/10/sys/netinet/tcp_input.c
==============================================================================
--- stable/10/sys/netinet/tcp_input.c	Wed Jan  8 02:31:35 2014	(r260433)
+++ stable/10/sys/netinet/tcp_input.c	Wed Jan  8 03:16:21 2014	(r260434)
@@ -2429,15 +2429,13 @@ tcp_do_segment(struct mbuf *m, struct tc
 		hhook_run_tcp_est_in(tp, th, &to);
 
 		if (SEQ_LEQ(th->th_ack, tp->snd_una)) {
-			if (tlen == 0 && tiwin == tp->snd_wnd &&
-			    !(thflags & TH_FIN)) {
+			if (tlen == 0 && tiwin == tp->snd_wnd) {
 				TCPSTAT_INC(tcps_rcvdupack);
 				/*
 				 * If we have outstanding data (other than
 				 * a window probe), this is a completely
 				 * duplicate ack (ie, window info didn't
-				 * change and FIN isn't set),
-				 * the ack is the biggest we've
+				 * change), the ack is the biggest we've
 				 * seen and we've seen exactly our rexmt
 				 * threshhold of them, assume a packet
 				 * has been dropped and retransmit it.



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