summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2012-10-28 19:20:23 +0000
committerandre <andre@FreeBSD.org>2012-10-28 19:20:23 +0000
commitab8a697d0af740f5e465e4a69b423dc890c85a47 (patch)
treee09433351453ccc270fc910b8839371bdddbe091 /sys/netinet
parentb21f6ebbaa35e6f822a064af33d150bafa261dd0 (diff)
downloadFreeBSD-src-ab8a697d0af740f5e465e4a69b423dc890c85a47.zip
FreeBSD-src-ab8a697d0af740f5e465e4a69b423dc890c85a47.tar.gz
Add SACK_PERMIT to the list of TCP options that are switched off after
retransmitting a SYN three times. MFC after: 2 weeks
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/tcp_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c
index fae7f22..e2f25f2 100644
--- a/sys/netinet/tcp_timer.c
+++ b/sys/netinet/tcp_timer.c
@@ -585,7 +585,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;
OpenPOWER on IntegriCloud