summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2017-07-27 16:56:43 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2017-07-31 20:41:58 +0200
commit387454901bd62022ac1b04e15bd8d4fcc60bbed4 (patch)
tree9cf1058127a2af54d8c86db31a5d3e11ffa6cc01 /include/net
parentnetfilter: nf_tables: Allow chain name of up to 255 chars (diff)
downloadlinux-387454901bd62022ac1b04e15bd8d4fcc60bbed4.tar.xz
linux-387454901bd62022ac1b04e15bd8d4fcc60bbed4.zip
netfilter: nf_tables: Allow set names of up to 255 chars
Same conversion as for table names, use NFT_NAME_MAXLEN as upper boundary as well. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/netfilter/nf_tables.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/netfilter/nf_tables.h b/include/net/netfilter/nf_tables.h
index be1610162ee0..66ba62fa7d90 100644
--- a/include/net/netfilter/nf_tables.h
+++ b/include/net/netfilter/nf_tables.h
@@ -396,7 +396,7 @@ void nft_unregister_set(struct nft_set_type *type);
struct nft_set {
struct list_head list;
struct list_head bindings;
- char name[NFT_SET_MAXNAMELEN];
+ char *name;
u32 ktype;
u32 dtype;
u32 objtype;