VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git] / include / linux / route.h
index e670dba..f7ed35d 100644 (file)
@@ -24,7 +24,7 @@
 #define _LINUX_ROUTE_H
 
 #include <linux/if.h>
-
+#include <linux/compiler.h>
 
 /* This structure gets passed by the SIOCADDRT and SIOCDELRT calls. */
 struct rtentry 
@@ -38,7 +38,7 @@ struct rtentry
        unsigned long   rt_pad3;
        void            *rt_pad4;
        short           rt_metric;      /* +1 for binary compatibility! */
-       char            *rt_dev;        /* forcing the device at add    */
+       char __user     *rt_dev;        /* forcing the device at add    */
        unsigned long   rt_mtu;         /* per route MTU/Window         */
 #ifndef __KERNEL__
 #define rt_mss rt_mtu                  /* Compatibility :-(            */