]> Pileus Git - ~andy/linux/blobdiff - include/net/ip6_route.h
net: skb->dst accessors
[~andy/linux] / include / net / ip6_route.h
index 5f53db7e4e576f61450f83db2e2c5f14a871ce64..0e1b8aebaff860f01e414e377737ed1eedb66d0a 100644 (file)
@@ -142,7 +142,7 @@ static inline void ip6_dst_store(struct sock *sk, struct dst_entry *dst,
 
 static inline int ipv6_unicast_destination(struct sk_buff *skb)
 {
-       struct rt6_info *rt = (struct rt6_info *) skb->dst;
+       struct rt6_info *rt = (struct rt6_info *) skb_dst(skb);
 
        return rt->rt6i_flags & RTF_LOCAL;
 }