summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_syncache.c
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2012-10-28 18:56:57 +0000
committerandre <andre@FreeBSD.org>2012-10-28 18:56:57 +0000
commit891f33973fa42e3f9e6ab72be341b764cbbbad7b (patch)
tree6f0c73cee6f63560cb6802b57c8192226096fe8f /sys/netinet/tcp_syncache.c
parentba83fef729262f13c5393cfdc78c5e6e85700e89 (diff)
downloadFreeBSD-src-891f33973fa42e3f9e6ab72be341b764cbbbad7b.zip
FreeBSD-src-891f33973fa42e3f9e6ab72be341b764cbbbad7b.tar.gz
When retransmitting SYN in TCPS_SYN_SENT state use TCPTV_RTOBASE,
the default retransmit timeout, as base to calculate the backoff time until next try instead of the TCP_REXMTVAL() macro which only works correctly when we already have measured an actual RTT+RTTVAR. Before it would cause the first retransmit at RTOBASE, the next four at the same time (!) about 200ms later, and then another one again RTOBASE later. MFC after: 2 weeks
Diffstat (limited to 'sys/netinet/tcp_syncache.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud