]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteb695b16d38332c1ab154778fb699b1ab3dc87ff
tree1bedfe78c671b634aed0faa9dbb2ec5cda7a4261
parent8fee66a3365056c8b1bd3e458c4c4c4eb638c479
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: 8f5500dda087 ("tcp: add tcp_tx_skb_cache sysctl")
Fixes: 650ef88cb3af ("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