]> Pileus Git - ~andy/linux/blobdiff - net/netfilter/xt_policy.c
net: skb->dst accessors
[~andy/linux] / net / netfilter / xt_policy.c
index 328bd20ddd254555c097af945c0c8d7ca87b05cb..4cbfebda8fa11795af6887e33761a374b50857ce 100644 (file)
@@ -86,7 +86,7 @@ match_policy_out(const struct sk_buff *skb, const struct xt_policy_info *info,
                 unsigned short family)
 {
        const struct xt_policy_elem *e;
-       const struct dst_entry *dst = skb->dst;
+       const struct dst_entry *dst = skb_dst(skb);
        int strict = info->flags & XT_POLICY_MATCH_STRICT;
        int i, pos;