sysctl: pass kernel pointers to ->proc_handler
[linux-block.git] / net / netfilter / nf_log.c
index bb25d4c794c78a63fb899df6257b919261184804..6cb9f9474b05510a71b3de74cccca1a458a45b91 100644 (file)
@@ -414,7 +414,7 @@ static struct ctl_table nf_log_sysctl_ftable[] = {
 };
 
 static int nf_log_proc_dostring(struct ctl_table *table, int write,
-                        void __user *buffer, size_t *lenp, loff_t *ppos)
+                        void *buffer, size_t *lenp, loff_t *ppos)
 {
        const struct nf_logger *logger;
        char buf[NFLOGGER_NAME_LEN];