Date: Wed, 19 Dec 2007 16:56:28 +0000 (UTC) From: Ruslan Ermilov <ru@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet tcp_syncache.c Message-ID: <200712191656.lBJGuSjJ081023@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ru 2007-12-19 16:56:28 UTC
FreeBSD src repository
Modified files:
sys/netinet tcp_syncache.c
Log:
Fix bugs in the TCP syncache timeout code. including:
When system ticks are positive, for entries in the cache
bucket, syncache_timer() ran on every tick (doing nothing
useful) instead of the supposed 3, 6, 12, and 24 seconds
later (when it's time to retransmit SYN,ACK).
When ticks are negative, syncache_timer() was scheduled
for the too far future (up to ~25 days on systems with
HZ=1000), no SYN,ACK retransmits were attempted at all,
and syncache entries added in that period that correspond
to non-established connections stay there forever.
Only HEAD and RELENG_7 are affected.
Reviewed by: silby, kmacy (earlier version)
Submitted by: Maxim Dounin, ru
Revision Changes Path
1.141 +18 -8 src/sys/netinet/tcp_syncache.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712191656.lBJGuSjJ081023>
