diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2005-01-10 23:53:50 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2005-01-10 23:53:50 +0000 |
commit | ca6f4dedf7deebc0146f43142008b43fa50903a4 (patch) | |
tree | 9332686e1751a4754bb55b4e3610c0f01279a46e /usr.bin | |
parent | cea4da524a79850924b7b29f5df029661c360a26 (diff) |
Make sure bogus values don't make their way into tcp_xmit_timer() calculations.
- Ignore ts_ecr if it is 0, or the resulting rtt is out of range.
(use tp->t_rtttime instead)
- Initialise tcp_now to 1, to avoid the 500ms window where a valid ts_ecr
of 0 could be ignored.
- Convert out-of-range rtt values to valid ones in tcp_xmit_timer().
ok frantzen@ markus@
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions