diff options
author | andre <andre@FreeBSD.org> | 2012-10-28 19:02:07 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2012-10-28 19:02:07 +0000 |
commit | ee161fee4db27d88de337761219260d04fb38c42 (patch) | |
tree | d4ac493c52b4283be62d83103cee5288850b96d9 /sys/netinet/tcp_syncache.c | |
parent | 891f33973fa42e3f9e6ab72be341b764cbbbad7b (diff) | |
download | FreeBSD-src-ee161fee4db27d88de337761219260d04fb38c42.zip FreeBSD-src-ee161fee4db27d88de337761219260d04fb38c42.tar.gz |
For retransmits of SYN|ACK from the syncache use the slightly more
aggressive special tcp_syn_backoff[] retransmit schedule instead of
the normal tcp_backoff[] schedule for established connections.
MFC after: 2 weeks
Diffstat (limited to 'sys/netinet/tcp_syncache.c')
-rw-r--r-- | sys/netinet/tcp_syncache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c index 778e762..c83945a 100644 --- a/sys/netinet/tcp_syncache.c +++ b/sys/netinet/tcp_syncache.c @@ -391,7 +391,7 @@ static void syncache_timeout(struct syncache *sc, struct syncache_head *sch, int docallout) { sc->sc_rxttime = ticks + - TCPTV_RTOBASE * (tcp_backoff[sc->sc_rxmits]); + TCPTV_RTOBASE * (tcp_syn_backoff[sc->sc_rxmits]); sc->sc_rxmits++; if (TSTMP_LT(sc->sc_rxttime, sch->sch_nextc)) { sch->sch_nextc = sc->sc_rxttime; |