netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] Fix receive window restriction
@ 2021-01-11 22:24 Heath Caldwell
  2021-01-11 22:24 ` [PATCH net-next 1/4] net: account for overhead when restricting SO_RCVBUF Heath Caldwell
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Heath Caldwell @ 2021-01-11 22:24 UTC (permalink / raw)
  To: netdev; +Cc: Eric Dumazet, Yuchung Cheng, Josh Hunt, Ji Li, Heath Caldwell

This patch series addresses bugs in the calculations for receive buffer
restriction and the TCP window scale value and removes a limit on the
initially advertised receive window for TCP connections.

These changes make the receive buffer size and window scale calculations
more consistent and facilitate research and use cases which could benefit
from more direct and consistent control over the receive buffer and TCP
receive window.

Heath Caldwell (4):
  net: account for overhead when restricting SO_RCVBUF
  net: tcp: consistently account for overhead for SO_RCVBUF for TCP
  tcp: consistently account for overhead in rcv_wscale calculation
  tcp: remove limit on initial receive window

 include/net/tcp.h     | 17 +++++++++
 net/core/sock.c       | 89 ++++++++++++++++++++++++++++++++-----------
 net/ipv4/tcp_output.c | 10 +++--
 3 files changed, 90 insertions(+), 26 deletions(-)


base-commit: 73b7a6047971aa6ce4a70fc4901964d14f077171
-- 
2.28.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-01-12 21:44 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-11 22:24 [PATCH net-next 0/4] Fix receive window restriction Heath Caldwell
2021-01-11 22:24 ` [PATCH net-next 1/4] net: account for overhead when restricting SO_RCVBUF Heath Caldwell
2021-01-11 22:24 ` [PATCH net-next 2/4] net: tcp: consistently account for overhead for SO_RCVBUF for TCP Heath Caldwell
2021-01-11 22:24 ` [PATCH net-next 3/4] tcp: consistently account for overhead in rcv_wscale calculation Heath Caldwell
2021-01-11 22:24 ` [PATCH net-next 4/4] tcp: remove limit on initial receive window Heath Caldwell
2021-01-12  8:30   ` Eric Dumazet
2021-01-12 16:02     ` Heath Caldwell
2021-01-12 17:05       ` Eric Dumazet
2021-01-12 19:25         ` Heath Caldwell
2021-01-12 20:26           ` Eric Dumazet
2021-01-12 20:43             ` Heath Caldwell
2021-01-12 20:56               ` Eric Dumazet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).