diff options
author | lstewart <lstewart@FreeBSD.org> | 2013-01-22 09:44:21 +0000 |
---|---|---|
committer | lstewart <lstewart@FreeBSD.org> | 2013-01-22 09:44:21 +0000 |
commit | 9e1a6406b6d39e18a87054ef6c5f7ec9c5d53222 (patch) | |
tree | ceed091e99ae86861a0c1d1b5858098df6fde96e /usr.sbin/bsdinstall/bsdinstall.8 | |
parent | 24e0e32487d9cabe009c9de04b444a113660b8ac (diff) | |
download | FreeBSD-src-9e1a6406b6d39e18a87054ef6c5f7ec9c5d53222.zip FreeBSD-src-9e1a6406b6d39e18a87054ef6c5f7ec9c5d53222.tar.gz |
Simplify and fix a bug in cc_ack_received()'s "are we congestion window limited"
logic (refer to [1] for associated discussion). snd_cwnd and snd_wnd are
unsigned long and on 64 bit hosts, min() will truncate them to 32 bits and could
therefore potentially corrupt the result (although under normal operation,
neither variable should legitmately exceed 32 bits).
[1] http://lists.freebsd.org/pipermail/freebsd-net/2013-January/034297.html
Submitted by: jhb
MFC after: 1 week
Diffstat (limited to 'usr.sbin/bsdinstall/bsdinstall.8')
0 files changed, 0 insertions, 0 deletions