[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170405.075153.1383349918282920547.davem@davemloft.net>
Date: Wed, 05 Apr 2017 07:51:53 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: gfree.wind@...mail.com
Cc: kuznet@....inr.ac.ru, jmorris@...ei.org, kaber@...sh.net,
ncardwell@...gle.com, netdev@...r.kernel.org, fgao@...ai8.com
Subject: Re: [PATCH net-next v2 1/1] net: tcp: Define the TCP_MAX_WSCALE
instead of literal number 14
From: gfree.wind@...mail.com
Date: Tue, 4 Apr 2017 21:09:48 +0800
> From: Gao Feng <fgao@...ai8.com>
>
> Define one new macro TCP_MAX_WSCALE instead of literal number '14',
> and use U16_MAX instead of 65535 as the max value of TCP window.
> There is another minor change, use rounddown(space, mss) instead of
> (space / mss) * mss;
>
> Signed-off-by: Gao Feng <fgao@...ai8.com>
> ---
> v2: Correct the literal 14 in comment and log too, per Neal
> v1: initial version
Applied, thank you.
Powered by blists - more mailing lists