[IPVS]: Move remaining sysctl handlers over to CTL_UNNUMBERED
Switch the remaining IPVS sysctl entries over to to use CTL_UNNUMBERED, I stronly doubt that anyone is using the sys_sysctl interface to these variables. Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
9e103fa6bd
commit
9055fa1f3d
@@ -237,30 +237,6 @@ static struct trans_ctl_table trans_net_ipv4_conf_table[] = {
|
||||
{}
|
||||
};
|
||||
|
||||
|
||||
static struct trans_ctl_table trans_net_ipv4_vs_table[] = {
|
||||
{ NET_IPV4_VS_AMEMTHRESH, "amemthresh" },
|
||||
{ NET_IPV4_VS_DEBUG_LEVEL, "debug_level" },
|
||||
{ NET_IPV4_VS_AMDROPRATE, "am_droprate" },
|
||||
{ NET_IPV4_VS_TO_ES, "timeout_established" },
|
||||
{ NET_IPV4_VS_TO_SS, "timeout_synsent" },
|
||||
{ NET_IPV4_VS_TO_SR, "timeout_synrecv" },
|
||||
{ NET_IPV4_VS_TO_FW, "timeout_finwait" },
|
||||
{ NET_IPV4_VS_TO_TW, "timeout_timewait" },
|
||||
{ NET_IPV4_VS_TO_CL, "timeout_close" },
|
||||
{ NET_IPV4_VS_TO_CW, "timeout_closewait" },
|
||||
{ NET_IPV4_VS_TO_LA, "timeout_lastack" },
|
||||
{ NET_IPV4_VS_TO_LI, "timeout_listen" },
|
||||
{ NET_IPV4_VS_TO_SA, "timeout_synack" },
|
||||
{ NET_IPV4_VS_TO_UDP, "timeout_udp" },
|
||||
{ NET_IPV4_VS_TO_ICMP, "timeout_icmp" },
|
||||
{ NET_IPV4_VS_CACHE_BYPASS, "cache_bypass" },
|
||||
{ NET_IPV4_VS_EXPIRE_NODEST_CONN, "expire_nodest_conn" },
|
||||
{ NET_IPV4_VS_EXPIRE_QUIESCENT_TEMPLATE, "expire_quiescent_template" },
|
||||
{ NET_IPV4_VS_NAT_ICMP_SEND, "nat_icmp_send" },
|
||||
{}
|
||||
};
|
||||
|
||||
static struct trans_ctl_table trans_net_neigh_vars_table[] = {
|
||||
{ NET_NEIGH_MCAST_SOLICIT, "mcast_solicit" },
|
||||
{ NET_NEIGH_UCAST_SOLICIT, "ucast_solicit" },
|
||||
@@ -335,7 +311,6 @@ static struct trans_ctl_table trans_net_ipv4_table[] = {
|
||||
{ NET_IPV4_ROUTE, "route", trans_net_ipv4_route_table },
|
||||
/* NET_IPV4_FIB_HASH unused */
|
||||
{ NET_IPV4_NETFILTER, "netfilter", trans_net_ipv4_netfilter_table },
|
||||
{ NET_IPV4_VS, "vs", trans_net_ipv4_vs_table },
|
||||
|
||||
{ NET_IPV4_TCP_TIMESTAMPS, "tcp_timestamps" },
|
||||
{ NET_IPV4_TCP_WINDOW_SCALING, "tcp_window_scaling" },
|
||||
|
Reference in New Issue
Block a user