Commit 44eb8ff7 authored by Hideaki Yoshifuji's avatar Hideaki Yoshifuji Committed by David S. Miller

[NETFILTER]: Fix build with SYSCTL=n

Signed-off-by: default avatarHideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a86c305b
...@@ -48,6 +48,8 @@ MODULE_LICENSE("GPL"); ...@@ -48,6 +48,8 @@ MODULE_LICENSE("GPL");
extern atomic_t ip_conntrack_count; extern atomic_t ip_conntrack_count;
DECLARE_PER_CPU(struct ip_conntrack_stat, ip_conntrack_stat); DECLARE_PER_CPU(struct ip_conntrack_stat, ip_conntrack_stat);
unsigned int ip_ct_log_invalid = 0;
static int kill_proto(const struct ip_conntrack *i, void *data) static int kill_proto(const struct ip_conntrack *i, void *data)
{ {
return (i->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.protonum == return (i->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.protonum ==
...@@ -524,7 +526,6 @@ extern unsigned long ip_ct_icmp_timeout; ...@@ -524,7 +526,6 @@ extern unsigned long ip_ct_icmp_timeout;
extern unsigned long ip_ct_generic_timeout; extern unsigned long ip_ct_generic_timeout;
/* Log invalid packets of a given protocol */ /* Log invalid packets of a given protocol */
unsigned int ip_ct_log_invalid = 0;
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment