diff options
| -rw-r--r-- | sys/netinet/tcp_subr.c | 2 | ||||
| -rw-r--r-- | sys/netinet/tcp_timewait.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index 9c4e8bf64d231..fe4343e507b7b 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -1363,7 +1363,7 @@ tcp_isn_tick(xtp) isn_offset = projected_offset; isn_offset_old = isn_offset; - callout_reset(&isn_callout, 1, tcp_isn_tick, NULL); + callout_reset(&isn_callout, hz/100, tcp_isn_tick, NULL); INP_INFO_WUNLOCK(&tcbinfo); } diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c index 9c4e8bf64d231..fe4343e507b7b 100644 --- a/sys/netinet/tcp_timewait.c +++ b/sys/netinet/tcp_timewait.c @@ -1363,7 +1363,7 @@ tcp_isn_tick(xtp) isn_offset = projected_offset; isn_offset_old = isn_offset; - callout_reset(&isn_callout, 1, tcp_isn_tick, NULL); + callout_reset(&isn_callout, hz/100, tcp_isn_tick, NULL); INP_INFO_WUNLOCK(&tcbinfo); } |
