diff options
author | Jiri Pirko <jiri@resnulli.us> | 2013-12-07 13:26:54 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-09 20:56:12 -0500 |
commit | cb5b09c17fe60056bc8f127ffc987d361c40ed4b (patch) | |
tree | d4335b5d15d34dfb0379c77c26c304690fee6b41 /net/ipv6/ndisc.c | |
parent | 1f9248e5606afc6485255e38ad57bdac08fa7711 (diff) |
neigh: wrap proc dointvec functions
This will be needed later on to provide better management of default values.
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ndisc.c')
-rw-r--r-- | net/ipv6/ndisc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c index 0da0986a9292..5fc6f69652b8 100644 --- a/net/ipv6/ndisc.c +++ b/net/ipv6/ndisc.c | |||
@@ -1655,16 +1655,16 @@ int ndisc_ifinfo_sysctl_change(struct ctl_table *ctl, int write, void __user *bu | |||
1655 | ndisc_warn_deprecated_sysctl(ctl, "syscall", dev ? dev->name : "default"); | 1655 | ndisc_warn_deprecated_sysctl(ctl, "syscall", dev ? dev->name : "default"); |
1656 | 1656 | ||
1657 | if (strcmp(ctl->procname, "retrans_time") == 0) | 1657 | if (strcmp(ctl->procname, "retrans_time") == 0) |
1658 | ret = proc_dointvec(ctl, write, buffer, lenp, ppos); | 1658 | ret = neigh_proc_dointvec(ctl, write, buffer, lenp, ppos); |
1659 | 1659 | ||
1660 | else if (strcmp(ctl->procname, "base_reachable_time") == 0) | 1660 | else if (strcmp(ctl->procname, "base_reachable_time") == 0) |
1661 | ret = proc_dointvec_jiffies(ctl, write, | 1661 | ret = neigh_proc_dointvec_jiffies(ctl, write, |
1662 | buffer, lenp, ppos); | 1662 | buffer, lenp, ppos); |
1663 | 1663 | ||
1664 | else if ((strcmp(ctl->procname, "retrans_time_ms") == 0) || | 1664 | else if ((strcmp(ctl->procname, "retrans_time_ms") == 0) || |
1665 | (strcmp(ctl->procname, "base_reachable_time_ms") == 0)) | 1665 | (strcmp(ctl->procname, "base_reachable_time_ms") == 0)) |
1666 | ret = proc_dointvec_ms_jiffies(ctl, write, | 1666 | ret = neigh_proc_dointvec_ms_jiffies(ctl, write, |
1667 | buffer, lenp, ppos); | 1667 | buffer, lenp, ppos); |
1668 | else | 1668 | else |
1669 | ret = -1; | 1669 | ret = -1; |
1670 | 1670 | ||