diff options
author | Joseph Fannin <jfannin@gmail.com> | 2007-09-28 17:47:32 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:53:41 -0400 |
commit | 587117414909e9c52f50e3c9d1f85b3dc1815d75 (patch) | |
tree | 8f11a52e32222a1be8e31674fcf35eb0aa2e7a3b /net | |
parent | ee4411a1b1e0b679c99686629b5eab5a072ce49f (diff) |
[NETFILTER]: bridge: remove broken netfilter binary sysctls
The netfilter sysctls in the bridging code don't set strategy routines:
sysctl table check failed: /net/bridge/bridge-nf-call-arptables .3.10.1 Missing strategy
sysctl table check failed: /net/bridge/bridge-nf-call-iptables .3.10.2 Missing strategy
sysctl table check failed: /net/bridge/bridge-nf-call-ip6tables .3.10.3 Missing strategy
sysctl table check failed: /net/bridge/bridge-nf-filter-vlan-tagged .3.10.4 Missing strategy
sysctl table check failed: /net/bridge/bridge-nf-filter-pppoe-tagged .3.10.5 Missing strategy
These binary sysctls can't work. The binary sysctl numbers of
other netfilter sysctls with this problem are being removed. These
need to go as well.
Signed-off-by: Joseph Fannin <jfannin@gmail.com>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/bridge/br_netfilter.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/net/bridge/br_netfilter.c b/net/bridge/br_netfilter.c index fc13130035e7..8245f051ccbb 100644 --- a/net/bridge/br_netfilter.c +++ b/net/bridge/br_netfilter.c | |||
@@ -904,7 +904,6 @@ int brnf_sysctl_call_tables(ctl_table * ctl, int write, struct file *filp, | |||
904 | 904 | ||
905 | static ctl_table brnf_table[] = { | 905 | static ctl_table brnf_table[] = { |
906 | { | 906 | { |
907 | .ctl_name = NET_BRIDGE_NF_CALL_ARPTABLES, | ||
908 | .procname = "bridge-nf-call-arptables", | 907 | .procname = "bridge-nf-call-arptables", |
909 | .data = &brnf_call_arptables, | 908 | .data = &brnf_call_arptables, |
910 | .maxlen = sizeof(int), | 909 | .maxlen = sizeof(int), |
@@ -912,7 +911,6 @@ static ctl_table brnf_table[] = { | |||
912 | .proc_handler = &brnf_sysctl_call_tables, | 911 | .proc_handler = &brnf_sysctl_call_tables, |
913 | }, | 912 | }, |
914 | { | 913 | { |
915 | .ctl_name = NET_BRIDGE_NF_CALL_IPTABLES, | ||
916 | .procname = "bridge-nf-call-iptables", | 914 | .procname = "bridge-nf-call-iptables", |
917 | .data = &brnf_call_iptables, | 915 | .data = &brnf_call_iptables, |
918 | .maxlen = sizeof(int), | 916 | .maxlen = sizeof(int), |
@@ -920,7 +918,6 @@ static ctl_table brnf_table[] = { | |||
920 | .proc_handler = &brnf_sysctl_call_tables, | 918 | .proc_handler = &brnf_sysctl_call_tables, |
921 | }, | 919 | }, |
922 | { | 920 | { |
923 | .ctl_name = NET_BRIDGE_NF_CALL_IP6TABLES, | ||
924 | .procname = "bridge-nf-call-ip6tables", | 921 | .procname = "bridge-nf-call-ip6tables", |
925 | .data = &brnf_call_ip6tables, | 922 | .data = &brnf_call_ip6tables, |
926 | .maxlen = sizeof(int), | 923 | .maxlen = sizeof(int), |
@@ -928,7 +925,6 @@ static ctl_table brnf_table[] = { | |||
928 | .proc_handler = &brnf_sysctl_call_tables, | 925 | .proc_handler = &brnf_sysctl_call_tables, |
929 | }, | 926 | }, |
930 | { | 927 | { |
931 | .ctl_name = NET_BRIDGE_NF_FILTER_VLAN_TAGGED, | ||
932 | .procname = "bridge-nf-filter-vlan-tagged", | 928 | .procname = "bridge-nf-filter-vlan-tagged", |
933 | .data = &brnf_filter_vlan_tagged, | 929 | .data = &brnf_filter_vlan_tagged, |
934 | .maxlen = sizeof(int), | 930 | .maxlen = sizeof(int), |
@@ -936,7 +932,6 @@ static ctl_table brnf_table[] = { | |||
936 | .proc_handler = &brnf_sysctl_call_tables, | 932 | .proc_handler = &brnf_sysctl_call_tables, |
937 | }, | 933 | }, |
938 | { | 934 | { |
939 | .ctl_name = NET_BRIDGE_NF_FILTER_PPPOE_TAGGED, | ||
940 | .procname = "bridge-nf-filter-pppoe-tagged", | 935 | .procname = "bridge-nf-filter-pppoe-tagged", |
941 | .data = &brnf_filter_pppoe_tagged, | 936 | .data = &brnf_filter_pppoe_tagged, |
942 | .maxlen = sizeof(int), | 937 | .maxlen = sizeof(int), |