VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git] / drivers / net / pppox.c
index 9a29158..0a585bc 100644 (file)
@@ -86,7 +86,7 @@ static int pppox_ioctl(struct socket* sock, unsigned int cmd,
 
                rc = -EINVAL;
                index = ppp_channel_index(&po->chan);
-               if (put_user(index , (int *) arg))
+               if (put_user(index , (int __user *) arg))
                        break;
 
                rc = 0;