|
@@ -2633,11 +2633,11 @@ static struct nft_set *nf_tables_set_lookup_byid(const struct net *net,
|
|
|
return ERR_PTR(-ENOENT);
|
|
|
}
|
|
|
|
|
|
-struct nft_set *nft_set_lookup(const struct net *net,
|
|
|
- const struct nft_table *table,
|
|
|
- const struct nlattr *nla_set_name,
|
|
|
- const struct nlattr *nla_set_id,
|
|
|
- u8 genmask)
|
|
|
+struct nft_set *nft_set_lookup_global(const struct net *net,
|
|
|
+ const struct nft_table *table,
|
|
|
+ const struct nlattr *nla_set_name,
|
|
|
+ const struct nlattr *nla_set_id,
|
|
|
+ u8 genmask)
|
|
|
{
|
|
|
struct nft_set *set;
|
|
|
|
|
@@ -2650,7 +2650,7 @@ struct nft_set *nft_set_lookup(const struct net *net,
|
|
|
}
|
|
|
return set;
|
|
|
}
|
|
|
-EXPORT_SYMBOL_GPL(nft_set_lookup);
|
|
|
+EXPORT_SYMBOL_GPL(nft_set_lookup_global);
|
|
|
|
|
|
static int nf_tables_set_alloc_name(struct nft_ctx *ctx, struct nft_set *set,
|
|
|
const char *name)
|