X-Git-Url: http://ftp.safe.ca/?p=safe%2Fjmp%2Flinux-2.6;a=blobdiff_plain;f=net%2Fipv6%2Froute.c;h=d6fe7646a8ff7d8599c3565e6e6c9deb68732cef;hp=77aecbe8ff6caf261c04700d6bea889bb2221a7e;hb=8d65af789f3e2cf4cfbdbf71a0f7a61ebcd41d38;hpb=c0d0787b6d47d9f4d5e8bd321921104e854a9135 diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 77aecbe..d6fe764 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c @@ -2524,13 +2524,13 @@ static const struct file_operations rt6_stats_seq_fops = { #ifdef CONFIG_SYSCTL static -int ipv6_sysctl_rtcache_flush(ctl_table *ctl, int write, struct file * filp, +int ipv6_sysctl_rtcache_flush(ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *ppos) { struct net *net = current->nsproxy->net_ns; int delay = net->ipv6.sysctl.flush_delay; if (write) { - proc_dointvec(ctl, write, filp, buffer, lenp, ppos); + proc_dointvec(ctl, write, buffer, lenp, ppos); fib6_run_gc(delay <= 0 ? ~0UL : (unsigned long)delay, net); return 0; } else