aboutsummaryrefslogtreecommitdiff
path: root/lib/libgssapi/gss_wrap_size_limit.c
diff options
context:
space:
mode:
authorRandall Stewart <rrs@FreeBSD.org>2021-10-26 17:17:58 +0000
committerRandall Stewart <rrs@FreeBSD.org>2021-10-26 17:17:58 +0000
commit12752978d32b440f7cc79a9dfb539b5bf42620af (patch)
tree4b0011906c27f1606153732a965aa9e9cbb2dcdf /lib/libgssapi/gss_wrap_size_limit.c
parentbb4c691299c5d699cea29e18fef96bda1cef13da (diff)
downloadsrc-main.tar.gz
src-main.zip
tcp: The rack stack can incorrectly have an overflow when calculating a burst delay.HEADmain
If the congestion window is very large the fact that we multiply it by 1000 (for microseconds) can cause the uint32_t to overflow and we incorrectly calculate a very small divisor. This will then cause the burst timer to be very large when it should be 0. Instead lets make the three variables uint64_t and avoid the issue. Reviewed by: Michael Tuexen Sponsored by: Netflix Inc. Differential Revision: https://reviews.freebsd.org/D32668
Diffstat (limited to 'lib/libgssapi/gss_wrap_size_limit.c')
0 files changed, 0 insertions, 0 deletions