X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fnet%2Fip6_route.h;h=75d503dc1b5ec8593af3d7d451472febdbba89aa;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=794ff3547dbf830d004efe27b9f1a822388fcb85;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/include/net/ip6_route.h b/include/net/ip6_route.h index 794ff3547..75d503dc1 100644 --- a/include/net/ip6_route.h +++ b/include/net/ip6_route.h @@ -35,7 +35,7 @@ extern int ip6_route_me_harder(struct sk_buff *skb); extern void ip6_route_init(void); extern void ip6_route_cleanup(void); -extern int ipv6_route_ioctl(unsigned int cmd, void *arg); +extern int ipv6_route_ioctl(unsigned int cmd, void __user *arg); extern int ip6_route_add(struct in6_rtmsg *rtmsg, struct nlmsghdr *, @@ -65,7 +65,7 @@ extern struct rt6_info *rt6_lookup(struct in6_addr *daddr, extern struct dst_entry *ndisc_dst_alloc(struct net_device *dev, struct neighbour *neigh, struct in6_addr *addr, - int (*output)(struct sk_buff *)); + int (*output)(struct sk_buff **)); extern int ndisc_dst_gc(int *more); extern void fib6_force_start_gc(void); @@ -104,9 +104,7 @@ extern rwlock_t rt6_lock; /* * Store a destination cache entry in a socket - * For UDP/RAW sockets this is done on udp_connect. */ - static inline void ip6_dst_store(struct sock *sk, struct dst_entry *dst, struct in6_addr *daddr) {