projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netfilter: nft_dynset: disallow object maps
[platform/kernel/linux-rpi.git]
/
net
/
netfilter
/
nft_dynset.c
diff --git
a/net/netfilter/nft_dynset.c
b/net/netfilter/nft_dynset.c
index
4fb34d7
..
5c5cc01
100644
(file)
--- a/
net/netfilter/nft_dynset.c
+++ b/
net/netfilter/nft_dynset.c
@@
-191,6
+191,9
@@
static int nft_dynset_init(const struct nft_ctx *ctx,
if (IS_ERR(set))
return PTR_ERR(set);
+ if (set->flags & NFT_SET_OBJECT)
+ return -EOPNOTSUPP;
+
if (set->ops->update == NULL)
return -EOPNOTSUPP;