diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2007-10-18 06:05:29 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-18 17:37:23 -0400 |
commit | 49641b58a7bb90e18b0b55e1af3e9039b24fba61 (patch) | |
tree | 81cd2094dd52d47228181052c3bc4fc3f1d9a645 | |
parent | 06489b4eec832227b6f30b4b43ab26a2c50d9225 (diff) |
sysctl: ipv4 remove binary sysctl paths where they are broken
Currently tcp_available_congestion_control does not even attempt being read
from sys_sysctl, and ipfrag_max_dist while it works allows setting of invalid
values using sys_sysctl.
So just kill the binary sys_sysctl support for these sysctls. If the support
is not important enough to test and get right it probably isn't important
enough to keep.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Alexey Dobriyan <adobriyan@sw.ru>
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>
-rw-r--r-- | net/ipv4/sysctl_net_ipv4.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/sysctl_net_ipv4.c b/net/ipv4/sysctl_net_ipv4.c index c98ef16effd2..c78acc1a7f11 100644 --- a/net/ipv4/sysctl_net_ipv4.c +++ b/net/ipv4/sysctl_net_ipv4.c | |||
@@ -740,7 +740,6 @@ ctl_table ipv4_table[] = { | |||
740 | .strategy = &sysctl_jiffies | 740 | .strategy = &sysctl_jiffies |
741 | }, | 741 | }, |
742 | { | 742 | { |
743 | .ctl_name = NET_IPV4_IPFRAG_MAX_DIST, | ||
744 | .procname = "ipfrag_max_dist", | 743 | .procname = "ipfrag_max_dist", |
745 | .data = &sysctl_ipfrag_max_dist, | 744 | .data = &sysctl_ipfrag_max_dist, |
746 | .maxlen = sizeof(int), | 745 | .maxlen = sizeof(int), |
@@ -865,7 +864,6 @@ ctl_table ipv4_table[] = { | |||
865 | }, | 864 | }, |
866 | #endif /* CONFIG_NETLABEL */ | 865 | #endif /* CONFIG_NETLABEL */ |
867 | { | 866 | { |
868 | .ctl_name = NET_TCP_AVAIL_CONG_CONTROL, | ||
869 | .procname = "tcp_available_congestion_control", | 867 | .procname = "tcp_available_congestion_control", |
870 | .maxlen = TCP_CA_BUF_MAX, | 868 | .maxlen = TCP_CA_BUF_MAX, |
871 | .mode = 0444, | 869 | .mode = 0444, |