Skip to content

Commit

Permalink
[NETFILTER]: conntrack: fix SYSCTL=n compile
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and David S. Miller committed Jul 25, 2006
1 parent 3bc3871 commit 72b5582
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions net/ipv4/netfilter/ip_conntrack_standalone.c
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,8 @@ static struct nf_hook_ops ip_conntrack_ops[] = {

/* Sysctl support */

int ip_conntrack_checksum = 1;

#ifdef CONFIG_SYSCTL

/* From ip_conntrack_core.c */
Expand Down Expand Up @@ -568,8 +570,6 @@ extern unsigned int ip_ct_generic_timeout;
static int log_invalid_proto_min = 0;
static int log_invalid_proto_max = 255;

int ip_conntrack_checksum = 1;

static struct ctl_table_header *ip_ct_sysctl_header;

static ctl_table ip_ct_sysctl_table[] = {
Expand Down
4 changes: 2 additions & 2 deletions net/netfilter/nf_conntrack_standalone.c
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,8 @@ static struct file_operations ct_cpu_seq_fops = {

/* Sysctl support */

int nf_conntrack_checksum = 1;

#ifdef CONFIG_SYSCTL

/* From nf_conntrack_core.c */
Expand Down Expand Up @@ -459,8 +461,6 @@ extern unsigned int nf_ct_generic_timeout;
static int log_invalid_proto_min = 0;
static int log_invalid_proto_max = 255;

int nf_conntrack_checksum = 1;

static struct ctl_table_header *nf_ct_sysctl_header;

static ctl_table nf_ct_sysctl_table[] = {
Expand Down

0 comments on commit 72b5582

Please sign in to comment.