Re: [PATCH nf-next 1/1] net: tcp: Refine the __tcp_select_window
From: David Miller <davem@davemloft.net>
Date: 2017-03-30 22:42:12
From: David Miller <davem@davemloft.net>
Date: 2017-03-30 22:42:12
From: gfree.wind@foxmail.com Date: Thu, 30 Mar 2017 06:49:19 +0800
From: Gao Feng <redacted> 1. Move the "window = tp->rcv_wnd;" into the condition block without tp->rx_opt.rcv_wscale. Because it is unnecessary when enable wscale; 2. Use the macro ALIGN instead of two statements. The two statements are used to make window align to 1<<wscale. Use the ALIGN is more clearer. 3. Use the rounddown to make codes clearer. Signed-off-by: Gao Feng <redacted>
Applied, but please do not target non-netfilter patches using "nf-next" in your Subject lines.