Add SACK_PERMIT to the list of TCP options that are switched off after

retransmitting a SYN three times.

MFC after:	2 weeks
This commit is contained in:
Andre Oppermann 2012-10-28 19:20:23 +00:00
parent 79ce26a08c
commit c4ab59c1a1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=242263

View File

@ -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;