svn commit: r237064 - user/andre/tcp_workqueue/sys/netinet

Andre Oppermann andre at FreeBSD.org
Thu Jun 14 12:38:52 UTC 2012


Author: andre
Date: Thu Jun 14 12:38:51 2012
New Revision: 237064
URL: http://svn.freebsd.org/changeset/base/237064

Log:
  Add SACK_PERMIT to the list of TCP options that are switched off after
  retransmitting a SYN three times.

Modified:
  user/andre/tcp_workqueue/sys/netinet/tcp_timer.c

Modified: user/andre/tcp_workqueue/sys/netinet/tcp_timer.c
==============================================================================
--- user/andre/tcp_workqueue/sys/netinet/tcp_timer.c	Thu Jun 14 12:37:41 2012	(r237063)
+++ user/andre/tcp_workqueue/sys/netinet/tcp_timer.c	Thu Jun 14 12:38:51 2012	(r237064)
@@ -566,7 +566,7 @@ tcp_timer_rexmt(void * xtp)
 	 * unknown-to-them TCP options.
 	 */
 	if ((tp->t_state == TCPS_SYN_SENT) && (tp->t_rxtshift == 3))
-		tp->t_flags &= ~(TF_REQ_SCALE|TF_REQ_TSTMP);
+		tp->t_flags &= ~(TF_REQ_SCALE|TF_REQ_TSTMP|TF_SACK_PERMIT);
 	/*
 	 * If we backed off this far, our srtt estimate is probably bogus.
 	 * Clobber it so we'll take the next rtt measurement as our srtt;


More information about the svn-src-user mailing list