sysctl: pass kernel pointers to ->proc_handler
[linux-block.git] / net / ipv4 / route.c
index 788c69d9bfe0d20dd1f0884e2d9939df31442bb5..041f4dcac440d29cee6443716d59b3e226af268d 100644 (file)
@@ -3336,8 +3336,7 @@ static int ip_rt_gc_elasticity __read_mostly      = 8;
 static int ip_min_valid_pmtu __read_mostly     = IPV4_MIN_MTU;
 
 static int ipv4_sysctl_rtcache_flush(struct ctl_table *__ctl, int write,
-                                       void __user *buffer,
-                                       size_t *lenp, loff_t *ppos)
+               void *buffer, size_t *lenp, loff_t *ppos)
 {
        struct net *net = (struct net *)__ctl->extra1;