diff options
Diffstat (limited to 'include/net/ip6_route.h')
-rw-r--r-- | include/net/ip6_route.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/ip6_route.h b/include/net/ip6_route.h index 2ad92ca4e6f3..37c1a1ed82c1 100644 --- a/include/net/ip6_route.h +++ b/include/net/ip6_route.h | |||
@@ -146,7 +146,7 @@ struct rt6_rtnl_dump_arg { | |||
146 | 146 | ||
147 | extern int rt6_dump_route(struct rt6_info *rt, void *p_arg); | 147 | extern int rt6_dump_route(struct rt6_info *rt, void *p_arg); |
148 | extern void rt6_ifdown(struct net *net, struct net_device *dev); | 148 | extern void rt6_ifdown(struct net *net, struct net_device *dev); |
149 | extern void rt6_mtu_change(struct net_device *dev, unsigned mtu); | 149 | extern void rt6_mtu_change(struct net_device *dev, unsigned int mtu); |
150 | extern void rt6_remove_prefsrc(struct inet6_ifaddr *ifp); | 150 | extern void rt6_remove_prefsrc(struct inet6_ifaddr *ifp); |
151 | 151 | ||
152 | 152 | ||
@@ -175,7 +175,7 @@ static inline void ip6_dst_store(struct sock *sk, struct dst_entry *dst, | |||
175 | spin_unlock(&sk->sk_dst_lock); | 175 | spin_unlock(&sk->sk_dst_lock); |
176 | } | 176 | } |
177 | 177 | ||
178 | static inline int ipv6_unicast_destination(struct sk_buff *skb) | 178 | static inline bool ipv6_unicast_destination(const struct sk_buff *skb) |
179 | { | 179 | { |
180 | struct rt6_info *rt = (struct rt6_info *) skb_dst(skb); | 180 | struct rt6_info *rt = (struct rt6_info *) skb_dst(skb); |
181 | 181 | ||