projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netfilter: nf_tables: add nft_set_is_anonymous() helper
[linux-2.6-block.git]
/
net
/
netfilter
/
nft_dynset.c
diff --git
a/net/netfilter/nft_dynset.c
b/net/netfilter/nft_dynset.c
index 66221ad891a9f281c1cf8e723c6a8c302e1f3741..ec0fd78231d87444edf2b1c3652e91d71c0de8c2 100644
(file)
--- a/
net/netfilter/nft_dynset.c
+++ b/
net/netfilter/nft_dynset.c
@@
-184,7
+184,7
@@
static int nft_dynset_init(const struct nft_ctx *ctx,
if (tb[NFTA_DYNSET_EXPR] != NULL) {
if (!(set->flags & NFT_SET_EVAL))
return -EINVAL;
- if (!
(set->flags & NFT_SET_ANONYMOUS
))
+ if (!
nft_set_is_anonymous(set
))
return -EOPNOTSUPP;
priv->expr = nft_expr_init(ctx, tb[NFTA_DYNSET_EXPR]);