diff options
author | 2005-01-10 23:53:49 +0000 | |
---|---|---|
committer | 2005-01-10 23:53:49 +0000 | |
commit | 1dedaec016b2a965a6256a263d5f7a7035d7e5c4 (patch) | |
tree | 4884c691693667c9cedd9ca629d8cc3642123019 /usr.bin/cvs/commit.c | |
parent | Correctly limit interrupts on the 'last' register, added support to (diff) | |
download | wireguard-openbsd-1dedaec016b2a965a6256a263d5f7a7035d7e5c4.tar.xz wireguard-openbsd-1dedaec016b2a965a6256a263d5f7a7035d7e5c4.zip |
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/cvs/commit.c')
0 files changed, 0 insertions, 0 deletions