tcp: fix compile error if !CONFIG_SYSCTL
authorEric Dumazet <edumazet@google.com>
Sat, 15 Jun 2019 20:19:55 +0000 (13:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Jun 2019 21:15:07 +0000 (14:15 -0700)
commit2e05fcae83c41eb2df10558338dc600dc783af47
tree1bedfe78c671b634aed0faa9dbb2ec5cda7a4261
parentd424a2afd7da136a98e9485bfd6c5d5506bd77f8
tcp: fix compile error if !CONFIG_SYSCTL

tcp_tx_skb_cache_key and tcp_rx_skb_cache_key must be available
even if CONFIG_SYSCTL is not set.

Fixes: 0b7d7f6b2208 ("tcp: add tcp_tx_skb_cache sysctl")
Fixes: ede61ca474a0 ("tcp: add tcp_rx_skb_cache sysctl")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/sysctl_net_ipv4.c
net/ipv4/tcp.c