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 <[email protected]> --- 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 53ef0f4..282eb7e 100644 --- a/net/ipv4/sysctl_net_ipv4.c +++ b/net/ipv4/sysctl_net_ipv4.c @@ -672,7 +672,6 @@ ctl_table ipv4_table[] = { .strategy = &sysctl_jiffies }, { - .ctl_name = NET_IPV4_IPFRAG_MAX_DIST, .procname = "ipfrag_max_dist", .data = &sysctl_ipfrag_max_dist, .maxlen = sizeof(int), @@ -797,7 +796,6 @@ ctl_table ipv4_table[] = { }, #endif /* CONFIG_NETLABEL */ { - .ctl_name = NET_TCP_AVAIL_CONG_CONTROL, .procname = "tcp_available_congestion_control", .maxlen = TCP_CA_BUF_MAX, .mode = 0444, -- 1.5.1.1.181.g2de0 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- [PATCH 10/10] sysctl: Remove the binary interface for aio-nr, aio-max-nr, acpi_video_flags
- From: [email protected] (Eric W. Biederman)
- [PATCH 10/10] sysctl: Remove the binary interface for aio-nr, aio-max-nr, acpi_video_flags
- References:
- [PATCH] Remove CTL_UNNUMBERED
- From: Alexey Dobriyan <[email protected]>
- Re: [PATCH] Remove CTL_UNNUMBERED
- From: [email protected] (Eric W. Biederman)
- Re: [PATCH] Remove CTL_UNNUMBERED
- From: Alexey Dobriyan <[email protected]>
- [PATCH 2/2] sysctl: remove CTL_UNNUMBERED
- From: Alexey Dobriyan <[email protected]>
- [PATCH 1/3] sysctl core: Stop using the unnecessary ctl_table typedef
- From: [email protected] (Eric W. Biederman)
- [PATCH 2/3] sysctl: Factor out sysctl_data.
- From: [email protected] (Eric W. Biederman)
- [PATCH 3/3] sysctl: Error on bad sysctl tables
- From: [email protected] (Eric W. Biederman)
- [PATCH 01/10] sysctl: Update sysctl_check_table
- From: [email protected] (Eric W. Biederman)
- [PATCH 02/10] sysct mqueue: Remove the binary sysctl numbers
- From: [email protected] (Eric W. Biederman)
- [PATCH 03/10] sysctl: Remove binary sysctl support where it clearly doesn't work.
- From: [email protected] (Eric W. Biederman)
- [PATCH 04/10] sysctl: Fix neighbour table sysctls.
- From: [email protected] (Eric W. Biederman)
- [PATCH 05/10] sysctl: ipv6 route flushing (kill binary path)
- From: [email protected] (Eric W. Biederman)
- [PATCH 06/10] sysctl: Remove broken sunrpc debug binary sysctls
- From: [email protected] (Eric W. Biederman)
- [PATCH 07/10] sysctl: x86_64 remove unnecessary binary paths.
- From: [email protected] (Eric W. Biederman)
- [PATCH 08/10] sysctl: Remove broken cdrom binary sysctls
- From: [email protected] (Eric W. Biederman)
- [PATCH] Remove CTL_UNNUMBERED
- Prev by Date: [PATCH 08/10] sysctl: Remove broken cdrom binary sysctls
- Next by Date: Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- Previous by thread: [PATCH 08/10] sysctl: Remove broken cdrom binary sysctls
- Next by thread: [PATCH 10/10] sysctl: Remove the binary interface for aio-nr, aio-max-nr, acpi_video_flags
- Index(es):