X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Froute.h;h=f7ed35d5e653876bd6ae281a5c2cc9f5b0e06031;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=e670dbac51ead3d474ce9eb25d044b05dfa47e0e;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/include/linux/route.h b/include/linux/route.h index e670dbac5..f7ed35d5e 100644 --- a/include/linux/route.h +++ b/include/linux/route.h @@ -24,7 +24,7 @@ #define _LINUX_ROUTE_H #include - +#include /* 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 :-( */