cvs commit: src/sys/netinet tcp_syncache.c
Ruslan Ermilov
ru at FreeBSD.org
Wed Dec 19 08:56:29 PST 2007
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
More information about the cvs-src
mailing list