svn commit: r260436 - stable/8/sys/netinet

Peter Wemm peter at FreeBSD.org
Wed Jan 8 03:16:51 UTC 2014


Author: peter
Date: Wed Jan  8 03:16:50 2014
New Revision: 260436
URL: http://svnweb.freebsd.org/changeset/base/260436

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

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

Modified: stable/8/sys/netinet/tcp_input.c
==============================================================================
--- stable/8/sys/netinet/tcp_input.c	Wed Jan  8 03:16:36 2014	(r260435)
+++ stable/8/sys/netinet/tcp_input.c	Wed Jan  8 03:16:50 2014	(r260436)
@@ -2318,15 +2318,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.


More information about the svn-src-all mailing list