Re: [PATCH net-next] tcp: remove mss check in tcp_select_initial_window()

2018-04-27 Thread David Miller
From: Wei Wang Date: Thu, 26 Apr 2018 09:58:10 -0700 > From: Wei Wang > > In tcp_select_initial_window(), we only set rcv_wnd to > tcp_default_init_rwnd() if current mss > (1 << wscale). Otherwise, > rcv_wnd is kept at the full receive space of the socket which is a > value way larger than tcp_

Re: [PATCH net-next] tcp: remove mss check in tcp_select_initial_window()

2018-04-26 Thread Neal Cardwell
On Thu, Apr 26, 2018 at 12:58 PM Wei Wang wrote: > From: Wei Wang > In tcp_select_initial_window(), we only set rcv_wnd to > tcp_default_init_rwnd() if current mss > (1 << wscale). Otherwise, > rcv_wnd is kept at the full receive space of the socket which is a > value way larger than tcp_defaul

[PATCH net-next] tcp: remove mss check in tcp_select_initial_window()

2018-04-26 Thread Wei Wang
From: Wei Wang In tcp_select_initial_window(), we only set rcv_wnd to tcp_default_init_rwnd() if current mss > (1 << wscale). Otherwise, rcv_wnd is kept at the full receive space of the socket which is a value way larger than tcp_default_init_rwnd(). With larger initial rcv_wnd value, receive buf