diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2007-10-18 06:05:32 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-18 17:37:23 -0400 |
commit | 064b5bba0cc495201729285c6a6ce205df0a386a (patch) | |
tree | f26962ee58fa5628150d74c06fc40a906e9684bb /net/ipv4 | |
parent | 35834ca1e4bda56d252aa2024a283d631f0e5ac6 (diff) |
sysctl: remove broken netfilter binary sysctls
No one has bothered to set strategy routine for the the netfilter sysctls that
return jiffies to be sysctl_jiffies.
So it appears the sys_sysctl path is unused and untested, so this patch
removes the binary sysctl numbers.
Which fixes the netfilter oops in 2.6.23-rc2-mm2 for me.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Patrick McHardy <kaber@trash.net>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/netfilter/nf_conntrack_proto_icmp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/netfilter/nf_conntrack_proto_icmp.c b/net/ipv4/netfilter/nf_conntrack_proto_icmp.c index 11fedc73049c..adcbaf6d4299 100644 --- a/net/ipv4/netfilter/nf_conntrack_proto_icmp.c +++ b/net/ipv4/netfilter/nf_conntrack_proto_icmp.c | |||
@@ -281,7 +281,6 @@ static int icmp_nlattr_to_tuple(struct nlattr *tb[], | |||
281 | static struct ctl_table_header *icmp_sysctl_header; | 281 | static struct ctl_table_header *icmp_sysctl_header; |
282 | static struct ctl_table icmp_sysctl_table[] = { | 282 | static struct ctl_table icmp_sysctl_table[] = { |
283 | { | 283 | { |
284 | .ctl_name = NET_NF_CONNTRACK_ICMP_TIMEOUT, | ||
285 | .procname = "nf_conntrack_icmp_timeout", | 284 | .procname = "nf_conntrack_icmp_timeout", |
286 | .data = &nf_ct_icmp_timeout, | 285 | .data = &nf_ct_icmp_timeout, |
287 | .maxlen = sizeof(unsigned int), | 286 | .maxlen = sizeof(unsigned int), |
@@ -295,7 +294,6 @@ static struct ctl_table icmp_sysctl_table[] = { | |||
295 | #ifdef CONFIG_NF_CONNTRACK_PROC_COMPAT | 294 | #ifdef CONFIG_NF_CONNTRACK_PROC_COMPAT |
296 | static struct ctl_table icmp_compat_sysctl_table[] = { | 295 | static struct ctl_table icmp_compat_sysctl_table[] = { |
297 | { | 296 | { |
298 | .ctl_name = NET_IPV4_NF_CONNTRACK_ICMP_TIMEOUT, | ||
299 | .procname = "ip_conntrack_icmp_timeout", | 297 | .procname = "ip_conntrack_icmp_timeout", |
300 | .data = &nf_ct_icmp_timeout, | 298 | .data = &nf_ct_icmp_timeout, |
301 | .maxlen = sizeof(unsigned int), | 299 | .maxlen = sizeof(unsigned int), |