svn commit: r260439 - stable/4/sys/netinet

Peter Wemm peter at FreeBSD.org
Wed Jan 8 03:22:43 UTC 2014


Author: peter
Date: Wed Jan  8 03:22:42 2014
New Revision: 260439
URL: http://svnweb.freebsd.org/changeset/base/260439

Log:
  Revert MFC of r258821

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

Modified: stable/4/sys/netinet/tcp_input.c
==============================================================================
--- stable/4/sys/netinet/tcp_input.c	Wed Jan  8 03:17:32 2014	(r260438)
+++ stable/4/sys/netinet/tcp_input.c	Wed Jan  8 03:22:42 2014	(r260439)
@@ -1705,15 +1705,13 @@ trimthenstep6:
 	case TCPS_TIME_WAIT:
 
 		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.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.


More information about the svn-src-stable-other mailing list