Re: [PATCH v2 net] tcp: consider recv buf for the initial window scale

2016-07-30 Thread David Miller
From: Soheil Hassas Yeganeh Date: Fri, 29 Jul 2016 09:34:02 -0400 > From: Soheil Hassas Yeganeh > > tcp_select_initial_window() intends to advertise a window > scaling for the maximum possible window size. To do so, > it considers the maximum of

Re: [PATCH v2 net] tcp: consider recv buf for the initial window scale

2016-07-29 Thread Neal Cardwell
On Fri, Jul 29, 2016 at 9:34 AM, Soheil Hassas Yeganeh wrote: > To fix this, consider the maximum of net.ipv4.tcp_rmem[2], > net.core.rmem_max and socket's initial buffer space. > > Fixes: b0573dea1fb3 ("[NET]: Introduce SO_{SND,RCV}BUFFORCE socket options") >

[PATCH v2 net] tcp: consider recv buf for the initial window scale

2016-07-29 Thread Soheil Hassas Yeganeh
From: Soheil Hassas Yeganeh tcp_select_initial_window() intends to advertise a window scaling for the maximum possible window size. To do so, it considers the maximum of net.ipv4.tcp_rmem[2] and net.core.rmem_max as the only possible upper-bounds. However, users with