diff options
Diffstat (limited to 'include/linux/route.h')
| -rw-r--r-- | include/linux/route.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/route.h b/include/linux/route.h index e670dbac51ea..f7ed35d5e653 100644 --- a/include/linux/route.h +++ b/include/linux/route.h @@ -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 :-( */ |
