summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorHideaki Yoshifuji <yoshfuji@linux-ipv6.org>2003-12-29 23:43:58 -0800
committerDavid S. Miller <davem@nuts.ninka.net>2003-12-29 23:43:58 -0800
commit09fa6bcea48db8d55e9789585773cf367a899a75 (patch)
tree7a024a960003471e90f54e95359ee46fac86785e /net
parent7f43e27277168f1eb4bf08ce326afb357dccfcc9 (diff)
[NET]: Missing sysctl strategy entries in net/{core,ipv6,appletalk}
Diffstat (limited to 'net')
-rw-r--r--net/appletalk/sysctl_net_atalk.c3
-rw-r--r--net/core/neighbour.c4
-rw-r--r--net/core/sysctl_net_core.c6
-rw-r--r--net/ipv6/addrconf.c2
4 files changed, 13 insertions, 2 deletions
diff --git a/net/appletalk/sysctl_net_atalk.c b/net/appletalk/sysctl_net_atalk.c
index edddd3291f70..25b33f670499 100644
--- a/net/appletalk/sysctl_net_atalk.c
+++ b/net/appletalk/sysctl_net_atalk.c
@@ -23,6 +23,7 @@ static struct ctl_table atalk_table[] = {
.maxlen = sizeof(int),
.mode = 0644,
.proc_handler = &proc_dointvec_jiffies,
+ .strategy = &sysctl_jiffies,
},
{
.ctl_name = NET_ATALK_AARP_TICK_TIME,
@@ -31,6 +32,7 @@ static struct ctl_table atalk_table[] = {
.maxlen = sizeof(int),
.mode = 0644,
.proc_handler = &proc_dointvec_jiffies,
+ .strategy = &sysctl_jiffies,
},
{
.ctl_name = NET_ATALK_AARP_RETRANSMIT_LIMIT,
@@ -47,6 +49,7 @@ static struct ctl_table atalk_table[] = {
.maxlen = sizeof(int),
.mode = 0644,
.proc_handler = &proc_dointvec_jiffies,
+ .strategy = &sysctl_jiffies,
},
{ 0 },
};
diff --git a/net/core/neighbour.c b/net/core/neighbour.c
index 247b6d6e661d..4b194b6be05a 100644
--- a/net/core/neighbour.c
+++ b/net/core/neighbour.c
@@ -1518,6 +1518,7 @@ struct neigh_sysctl_table {
.maxlen = sizeof(int),
.mode = 0644,
.proc_handler = &proc_dointvec_jiffies,
+ .strategy = &sysctl_jiffies,
},
{
.ctl_name = NET_NEIGH_DELAY_PROBE_TIME,
@@ -1525,6 +1526,7 @@ struct neigh_sysctl_table {
.maxlen = sizeof(int),
.mode = 0644,
.proc_handler = &proc_dointvec_jiffies,
+ .strategy = &sysctl_jiffies,
},
{
.ctl_name = NET_NEIGH_GC_STALE_TIME,
@@ -1532,6 +1534,7 @@ struct neigh_sysctl_table {
.maxlen = sizeof(int),
.mode = 0644,
.proc_handler = &proc_dointvec_jiffies,
+ .strategy = &sysctl_jiffies,
},
{
.ctl_name = NET_NEIGH_UNRES_QLEN,
@@ -1574,6 +1577,7 @@ struct neigh_sysctl_table {
.maxlen = sizeof(int),
.mode = 0644,
.proc_handler = &proc_dointvec_jiffies,
+ .strategy = &sysctl_jiffies,
},
{
.ctl_name = NET_NEIGH_GC_THRESH1,
diff --git a/net/core/sysctl_net_core.c b/net/core/sysctl_net_core.c
index 46c0c78b196d..642ef77a2824 100644
--- a/net/core/sysctl_net_core.c
+++ b/net/core/sysctl_net_core.c
@@ -146,7 +146,8 @@ ctl_table core_table[] = {
.data = &net_msg_cost,
.maxlen = sizeof(int),
.mode = 0644,
- .proc_handler = &proc_dointvec_jiffies
+ .proc_handler = &proc_dointvec_jiffies,
+ .strategy = &sysctl_jiffies,
},
{
.ctl_name = NET_CORE_MSG_BURST,
@@ -154,7 +155,8 @@ ctl_table core_table[] = {
.data = &net_msg_burst,
.maxlen = sizeof(int),
.mode = 0644,
- .proc_handler = &proc_dointvec_jiffies
+ .proc_handler = &proc_dointvec_jiffies,
+ .strategy = &sysctl_jiffies,
},
{
.ctl_name = NET_CORE_OPTMEM_MAX,
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index b08ba41c5356..0d4b1688a801 100644
--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -2946,6 +2946,7 @@ static struct addrconf_sysctl_table
.maxlen = sizeof(int),
.mode = 0644,
.proc_handler = &proc_dointvec_jiffies,
+ .strategy = &sysctl_jiffies,
},
{
.ctl_name = NET_IPV6_RTR_SOLICIT_DELAY,
@@ -2954,6 +2955,7 @@ static struct addrconf_sysctl_table
.maxlen = sizeof(int),
.mode = 0644,
.proc_handler = &proc_dointvec_jiffies,
+ .strategy = &sysctl_jiffies,
},
#ifdef CONFIG_IPV6_PRIVACY
{