]> 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)
commit0a29f148a0f7fa95448018d7e97e4365c03cc369
tree1bedfe78c671b634aed0faa9dbb2ec5cda7a4261
parent443c724b71ea4bc5f3da20507805653571a57c74
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: 2bdbae4e4a74 ("tcp: add tcp_tx_skb_cache sysctl")
Fixes: 6df8f209fd2f ("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