net: use skb_sec_path helper in more places
[linux-2.6-block.git] / net / netfilter / xt_policy.c
index 13f8ccf946d622a21a057381839e65beb5e97c20..aa84e8121c93ee47cdb8fad16b866b7ca145944c 100644 (file)
@@ -56,7 +56,7 @@ match_policy_in(const struct sk_buff *skb, const struct xt_policy_info *info,
                unsigned short family)
 {
        const struct xt_policy_elem *e;
-       const struct sec_path *sp = skb->sp;
+       const struct sec_path *sp = skb_sec_path(skb);
        int strict = info->flags & XT_POLICY_MATCH_STRICT;
        int i, pos;