netfilter: nf_tables: rename to nft_set_lookup_global()
[linux-2.6-block.git] / net / netfilter / nft_lookup.c
index 475570e89ede710b323868792bb16fd5f09d1b09..f52da5e2199fe4e55febfc5bf4366acfddc87889 100644 (file)
@@ -71,8 +71,8 @@ static int nft_lookup_init(const struct nft_ctx *ctx,
            tb[NFTA_LOOKUP_SREG] == NULL)
                return -EINVAL;
 
-       set = nft_set_lookup(ctx->net, ctx->table, tb[NFTA_LOOKUP_SET],
-                            tb[NFTA_LOOKUP_SET_ID], genmask);
+       set = nft_set_lookup_global(ctx->net, ctx->table, tb[NFTA_LOOKUP_SET],
+                                   tb[NFTA_LOOKUP_SET_ID], genmask);
        if (IS_ERR(set))
                return PTR_ERR(set);