[NETFILTER]: conntrack: fix SYSCTL=n compile
Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
3bc38712e3
commit
72b5582359
@@ -534,6 +534,8 @@ static struct nf_hook_ops ip_conntrack_ops[] = {
|
|||||||
|
|
||||||
/* Sysctl support */
|
/* Sysctl support */
|
||||||
|
|
||||||
|
int ip_conntrack_checksum = 1;
|
||||||
|
|
||||||
#ifdef CONFIG_SYSCTL
|
#ifdef CONFIG_SYSCTL
|
||||||
|
|
||||||
/* From ip_conntrack_core.c */
|
/* From ip_conntrack_core.c */
|
||||||
@@ -568,8 +570,6 @@ extern unsigned int ip_ct_generic_timeout;
|
|||||||
static int log_invalid_proto_min = 0;
|
static int log_invalid_proto_min = 0;
|
||||||
static int log_invalid_proto_max = 255;
|
static int log_invalid_proto_max = 255;
|
||||||
|
|
||||||
int ip_conntrack_checksum = 1;
|
|
||||||
|
|
||||||
static struct ctl_table_header *ip_ct_sysctl_header;
|
static struct ctl_table_header *ip_ct_sysctl_header;
|
||||||
|
|
||||||
static ctl_table ip_ct_sysctl_table[] = {
|
static ctl_table ip_ct_sysctl_table[] = {
|
||||||
|
@@ -428,6 +428,8 @@ static struct file_operations ct_cpu_seq_fops = {
|
|||||||
|
|
||||||
/* Sysctl support */
|
/* Sysctl support */
|
||||||
|
|
||||||
|
int nf_conntrack_checksum = 1;
|
||||||
|
|
||||||
#ifdef CONFIG_SYSCTL
|
#ifdef CONFIG_SYSCTL
|
||||||
|
|
||||||
/* From nf_conntrack_core.c */
|
/* From nf_conntrack_core.c */
|
||||||
@@ -459,8 +461,6 @@ extern unsigned int nf_ct_generic_timeout;
|
|||||||
static int log_invalid_proto_min = 0;
|
static int log_invalid_proto_min = 0;
|
||||||
static int log_invalid_proto_max = 255;
|
static int log_invalid_proto_max = 255;
|
||||||
|
|
||||||
int nf_conntrack_checksum = 1;
|
|
||||||
|
|
||||||
static struct ctl_table_header *nf_ct_sysctl_header;
|
static struct ctl_table_header *nf_ct_sysctl_header;
|
||||||
|
|
||||||
static ctl_table nf_ct_sysctl_table[] = {
|
static ctl_table nf_ct_sysctl_table[] = {
|
||||||
|
Reference in New Issue
Block a user