X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=net%2Fnetfilter%2Fxt_policy.c;h=ba1ca03abad326b4d37bf5dceb8338792294b17e;hb=ca78f6baca863afe2e6a244a0fe94b3a70211d46;hp=1099cb005fcc3c7dbf4a8ca4795862f2b093b1e0;hpb=be9bf30c73184e0f1e4e0a50fb193d2a551bf75e;p=powerpc.git diff --git a/net/netfilter/xt_policy.c b/net/netfilter/xt_policy.c index 1099cb005f..ba1ca03aba 100644 --- a/net/netfilter/xt_policy.c +++ b/net/netfilter/xt_policy.c @@ -8,7 +8,6 @@ */ #include -#include #include #include #include @@ -71,7 +70,7 @@ match_policy_in(const struct sk_buff *skb, const struct xt_policy_info *info, return 0; e = &info->pol[pos]; - if (match_xfrm_state(sp->x[i].xvec, e, family)) { + if (match_xfrm_state(sp->xvec[i], e, family)) { if (!strict) return 1; } else if (strict)