]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - net/netfilter/xt_policy.c
netfilter: xtables: make use of caller family rather than match family
[mv-sheeva.git] / net / netfilter / xt_policy.c
index 4cbfebda8fa11795af6887e33761a374b50857ce..cc033d2c35ea651523dcc799caa218678cfd1dbf 100644 (file)
@@ -116,9 +116,9 @@ policy_mt(const struct sk_buff *skb, const struct xt_match_param *par)
        int ret;
 
        if (info->flags & XT_POLICY_MATCH_IN)
-               ret = match_policy_in(skb, info, par->match->family);
+               ret = match_policy_in(skb, info, par->family);
        else
-               ret = match_policy_out(skb, info, par->match->family);
+               ret = match_policy_out(skb, info, par->family);
 
        if (ret < 0)
                ret = info->flags & XT_POLICY_MATCH_NONE ? true : false;