]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
netfilter: tcp: Use TCP_MAX_WSCALE instead of literal 14
authorGao Feng <fgao@ikuai8.com>
Wed, 19 Apr 2017 01:23:42 +0000 (09:23 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 19 Apr 2017 15:55:17 +0000 (17:55 +0200)
commit122868b378094853b376f3e2ac833bcee078eb3c
tree2a67950d7a07a8ff563f500af413d017c0e9c470
parentbe7be6e161a218e92c4e46b97ba59c1e40cfea9c
netfilter: tcp: Use TCP_MAX_WSCALE instead of literal 14

The window scale may be enlarged from 14 to 15 according to the itef
draft https://tools.ietf.org/html/draft-nishida-tcpm-maxwin-03.

Use the macro TCP_MAX_WSCALE to support it easily with TCP stack in
the future.

Signed-off-by: Gao Feng <fgao@ikuai8.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_proto_tcp.c
net/netfilter/nf_synproxy_core.c