sysctl: pass kernel pointers to ->proc_handler
[linux-block.git] / net / ipv6 / sysctl_net_ipv6.c
index 63b657aa8d29ec433a68aaf79638336255ed0dcf..fac2135aa47b6ff8c291a807581c63209b1f7629 100644 (file)
@@ -26,8 +26,7 @@ static int auto_flowlabels_min;
 static int auto_flowlabels_max = IP6_AUTO_FLOW_LABEL_MAX;
 
 static int proc_rt6_multipath_hash_policy(struct ctl_table *table, int write,
-                                         void __user *buffer, size_t *lenp,
-                                         loff_t *ppos)
+                                         void *buffer, size_t *lenp, loff_t *ppos)
 {
        struct net *net;
        int ret;