diff options
| author | 2017-04-04 21:09:48 +0800 | |
|---|---|---|
| committer | 2017-04-05 07:50:32 -0700 | |
| commit | 589c49cbf9674808fd4ac9b7c17155abc0686f86 (patch) | |
| tree | 7065ecc4a28f72a6fd73570a0b793d92fee62e88 /lib/list_debug.c | |
| parent | net: ibm: emac: remove unused sysrq handler for 'c' key (diff) | |
| download | wireguard-linux-589c49cbf9674808fd4ac9b7c17155abc0686f86.tar.xz wireguard-linux-589c49cbf9674808fd4ac9b7c17155abc0686f86.zip | |
net: tcp: Define the TCP_MAX_WSCALE instead of literal number 14
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@ikuai8.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/list_debug.c')
0 files changed, 0 insertions, 0 deletions
