Update an additional reference to the rate of ISN tick callouts that was

missed in tcp_subr.c:1.216: projected_offset must also reflect how often
the tcp_isn_tick() callout will fire.

MFC after:	2 weeks
Submitted by:	silby
This commit is contained in:
Robert Watson 2005-01-31 01:35:01 +00:00
parent 9e521c8906
commit 06456da2c6
2 changed files with 2 additions and 2 deletions

View File

@ -1357,7 +1357,7 @@ tcp_isn_tick(xtp)
u_int32_t projected_offset;
INP_INFO_WLOCK(&tcbinfo);
projected_offset = isn_offset_old + ISN_BYTES_PER_SECOND / hz;
projected_offset = isn_offset_old + ISN_BYTES_PER_SECOND / 100;
if (projected_offset > isn_offset)
isn_offset = projected_offset;

View File

@ -1357,7 +1357,7 @@ tcp_isn_tick(xtp)
u_int32_t projected_offset;
INP_INFO_WLOCK(&tcbinfo);
projected_offset = isn_offset_old + ISN_BYTES_PER_SECOND / hz;
projected_offset = isn_offset_old + ISN_BYTES_PER_SECOND / 100;
if (projected_offset > isn_offset)
isn_offset = projected_offset;