tcp: add tcp_comp_sack_nr sysctl
authorEric Dumazet <edumazet@google.com>
Thu, 17 May 2018 21:47:29 +0000 (14:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 May 2018 15:40:27 +0000 (11:40 -0400)
commit9c21d2fc41c0c8930600c9dd83eadac2e336fcfa
treed2a2dfb4516b8fb0d8fe13e7c3bfa0eda2064d0d
parent6d82aa242092d73c6d2e210cfaf0ebfbe6de1ccf
tcp: add tcp_comp_sack_nr sysctl

This per netns sysctl allows for TCP SACK compression fine-tuning.

This limits number of SACK that can be compressed.
Using 0 disables SACK compression.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ip-sysctl.txt
include/net/netns/ipv4.h
net/ipv4/sysctl_net_ipv4.c
net/ipv4/tcp_input.c
net/ipv4/tcp_ipv4.c