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:
parent
e38f533a10
commit
0beab4d652
@ -1357,7 +1357,7 @@ tcp_isn_tick(xtp)
|
|||||||
u_int32_t projected_offset;
|
u_int32_t projected_offset;
|
||||||
|
|
||||||
INP_INFO_WLOCK(&tcbinfo);
|
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)
|
if (projected_offset > isn_offset)
|
||||||
isn_offset = projected_offset;
|
isn_offset = projected_offset;
|
||||||
|
@ -1357,7 +1357,7 @@ tcp_isn_tick(xtp)
|
|||||||
u_int32_t projected_offset;
|
u_int32_t projected_offset;
|
||||||
|
|
||||||
INP_INFO_WLOCK(&tcbinfo);
|
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)
|
if (projected_offset > isn_offset)
|
||||||
isn_offset = projected_offset;
|
isn_offset = projected_offset;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user