diff options
author | ru <ru@FreeBSD.org> | 2007-12-19 16:56:28 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2007-12-19 16:56:28 +0000 |
commit | 82b21d0858fffd4f5c87a455996327a2863a8b1e (patch) | |
tree | fcffcdacc8c22a268695c5ec18fcac457aa52b54 /share/monetdef | |
parent | a9a3bcada9efd0ad2e0689e86570a02e74fc526d (diff) | |
download | FreeBSD-src-82b21d0858fffd4f5c87a455996327a2863a8b1e.zip FreeBSD-src-82b21d0858fffd4f5c87a455996327a2863a8b1e.tar.gz |
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
Diffstat (limited to 'share/monetdef')
0 files changed, 0 insertions, 0 deletions