diff options
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r-- | sys/netinet/tcp_subr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index ff0466a..2dd20e5 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -1412,7 +1412,7 @@ tcp_new_isn(struct tcpcb *tp) } /* - * Increment the offset to the next ISN_BYTES_PER_SECOND / hz boundary + * Increment the offset to the next ISN_BYTES_PER_SECOND / 100 boundary * to keep time flowing at a relatively constant rate. If the random * increments have already pushed us past the projected offset, do nothing. */ @@ -1424,7 +1424,7 @@ tcp_isn_tick(void *xtp) ISN_LOCK(); projected_offset = isn_offset_old + ISN_BYTES_PER_SECOND / 100; - if (projected_offset > isn_offset) + if (SEQ_GT(projected_offset, isn_offset)) isn_offset = projected_offset; isn_offset_old = isn_offset; |