Commit 09fa6bce authored by Hideaki Yoshifuji's avatar Hideaki Yoshifuji Committed by David S. Miller

[NET]: Missing sysctl strategy entries in net/{core,ipv6,appletalk}

parent 7f43e272
...@@ -23,6 +23,7 @@ static struct ctl_table atalk_table[] = { ...@@ -23,6 +23,7 @@ static struct ctl_table atalk_table[] = {
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = &proc_dointvec_jiffies,
.strategy = &sysctl_jiffies,
}, },
{ {
.ctl_name = NET_ATALK_AARP_TICK_TIME, .ctl_name = NET_ATALK_AARP_TICK_TIME,
...@@ -31,6 +32,7 @@ static struct ctl_table atalk_table[] = { ...@@ -31,6 +32,7 @@ static struct ctl_table atalk_table[] = {
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = &proc_dointvec_jiffies,
.strategy = &sysctl_jiffies,
}, },
{ {
.ctl_name = NET_ATALK_AARP_RETRANSMIT_LIMIT, .ctl_name = NET_ATALK_AARP_RETRANSMIT_LIMIT,
...@@ -47,6 +49,7 @@ static struct ctl_table atalk_table[] = { ...@@ -47,6 +49,7 @@ static struct ctl_table atalk_table[] = {
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = &proc_dointvec_jiffies,
.strategy = &sysctl_jiffies,
}, },
{ 0 }, { 0 },
}; };
......
...@@ -1518,6 +1518,7 @@ struct neigh_sysctl_table { ...@@ -1518,6 +1518,7 @@ struct neigh_sysctl_table {
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = &proc_dointvec_jiffies,
.strategy = &sysctl_jiffies,
}, },
{ {
.ctl_name = NET_NEIGH_DELAY_PROBE_TIME, .ctl_name = NET_NEIGH_DELAY_PROBE_TIME,
...@@ -1525,6 +1526,7 @@ struct neigh_sysctl_table { ...@@ -1525,6 +1526,7 @@ struct neigh_sysctl_table {
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = &proc_dointvec_jiffies,
.strategy = &sysctl_jiffies,
}, },
{ {
.ctl_name = NET_NEIGH_GC_STALE_TIME, .ctl_name = NET_NEIGH_GC_STALE_TIME,
...@@ -1532,6 +1534,7 @@ struct neigh_sysctl_table { ...@@ -1532,6 +1534,7 @@ struct neigh_sysctl_table {
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = &proc_dointvec_jiffies,
.strategy = &sysctl_jiffies,
}, },
{ {
.ctl_name = NET_NEIGH_UNRES_QLEN, .ctl_name = NET_NEIGH_UNRES_QLEN,
...@@ -1574,6 +1577,7 @@ struct neigh_sysctl_table { ...@@ -1574,6 +1577,7 @@ struct neigh_sysctl_table {
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = &proc_dointvec_jiffies,
.strategy = &sysctl_jiffies,
}, },
{ {
.ctl_name = NET_NEIGH_GC_THRESH1, .ctl_name = NET_NEIGH_GC_THRESH1,
......
...@@ -146,7 +146,8 @@ ctl_table core_table[] = { ...@@ -146,7 +146,8 @@ ctl_table core_table[] = {
.data = &net_msg_cost, .data = &net_msg_cost,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies .proc_handler = &proc_dointvec_jiffies,
.strategy = &sysctl_jiffies,
}, },
{ {
.ctl_name = NET_CORE_MSG_BURST, .ctl_name = NET_CORE_MSG_BURST,
...@@ -154,7 +155,8 @@ ctl_table core_table[] = { ...@@ -154,7 +155,8 @@ ctl_table core_table[] = {
.data = &net_msg_burst, .data = &net_msg_burst,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies .proc_handler = &proc_dointvec_jiffies,
.strategy = &sysctl_jiffies,
}, },
{ {
.ctl_name = NET_CORE_OPTMEM_MAX, .ctl_name = NET_CORE_OPTMEM_MAX,
......
...@@ -2946,6 +2946,7 @@ static struct addrconf_sysctl_table ...@@ -2946,6 +2946,7 @@ static struct addrconf_sysctl_table
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = &proc_dointvec_jiffies,
.strategy = &sysctl_jiffies,
}, },
{ {
.ctl_name = NET_IPV6_RTR_SOLICIT_DELAY, .ctl_name = NET_IPV6_RTR_SOLICIT_DELAY,
...@@ -2954,6 +2955,7 @@ static struct addrconf_sysctl_table ...@@ -2954,6 +2955,7 @@ static struct addrconf_sysctl_table
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = &proc_dointvec_jiffies,
.strategy = &sysctl_jiffies,
}, },
#ifdef CONFIG_IPV6_PRIVACY #ifdef CONFIG_IPV6_PRIVACY
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment