summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2007-02-01 17:39:18 +0000
committerandre <andre@FreeBSD.org>2007-02-01 17:39:18 +0000
commit347b7a6a1eb5fd658f462c27f0394d295e86be21 (patch)
tree997d5976c92bdd0ed0325563e1ec45738a2a3a73 /sys/netinet/tcp_input.c
parent4c4dfdea1b2ed220d9b76f87a2295de46745c77c (diff)
downloadFreeBSD-src-347b7a6a1eb5fd658f462c27f0394d295e86be21.zip
FreeBSD-src-347b7a6a1eb5fd658f462c27f0394d295e86be21.tar.gz
Change the way the advertized TCP window scaling is computed. Instead of
upper-bounding it to the size of the initial socket buffer lower-bound it to the smallest MSS we accept. Ideally we'd use the actual MSS information here but it is not available yet. For socket buffer auto sizing to be effective we need room to grow the receive window. The window scale shift is determined at connection setup and can't be changed afterwards. The previous, original, method effectively just did a power of two roundup of the socket buffer size at connection setup severely limiting the headroom for larger socket buffers. Tested by: many (as part of the socket buffer auto sizing patch) MFC after: 1 month
Diffstat (limited to 'sys/netinet/tcp_input.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud