aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/route.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/route.c')
-rw-r--r--net/ipv4/route.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index 8d23cc7efbad..2ea6dcc3e2cc 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -2913,8 +2913,6 @@ static int ipv4_sysctl_rtcache_flush(ctl_table *__ctl, int write,
2913} 2913}
2914 2914
2915static int ipv4_sysctl_rtcache_flush_strategy(ctl_table *table, 2915static int ipv4_sysctl_rtcache_flush_strategy(ctl_table *table,
2916 int __user *name,
2917 int nlen,
2918 void __user *oldval, 2916 void __user *oldval,
2919 size_t __user *oldlenp, 2917 size_t __user *oldlenp,
2920 void __user *newval, 2918 void __user *newval,
@@ -2977,16 +2975,13 @@ static int ipv4_sysctl_rt_secret_interval(ctl_table *ctl, int write,
2977} 2975}
2978 2976
2979static int ipv4_sysctl_rt_secret_interval_strategy(ctl_table *table, 2977static int ipv4_sysctl_rt_secret_interval_strategy(ctl_table *table,
2980 int __user *name,
2981 int nlen,
2982 void __user *oldval, 2978 void __user *oldval,
2983 size_t __user *oldlenp, 2979 size_t __user *oldlenp,
2984 void __user *newval, 2980 void __user *newval,
2985 size_t newlen) 2981 size_t newlen)
2986{ 2982{
2987 int old = ip_rt_secret_interval; 2983 int old = ip_rt_secret_interval;
2988 int ret = sysctl_jiffies(table, name, nlen, oldval, oldlenp, newval, 2984 int ret = sysctl_jiffies(table, oldval, oldlenp, newval, newlen);
2989 newlen);
2990 2985
2991 rt_secret_reschedule(old); 2986 rt_secret_reschedule(old);
2992 2987