Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 49641b58 authored by Eric W. Biederman's avatar Eric W. Biederman Committed by Linus Torvalds
Browse files

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: default avatarEric W. Biederman <ebiederm@xmission.com>
Cc: Alexey Dobriyan <adobriyan@sw.ru>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 06489b4e
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -740,7 +740,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),
@@ -865,7 +864,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,