netfilter: nf_tables: allow set names up to 32 bytes
Currently, we support set names of up to 16 bytes, get this aligned with the maximum length we can use in ipset to make it easier when considering migration to nf_tables. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
@@ -303,7 +303,7 @@ void nft_unregister_set(struct nft_set_ops *ops);
|
||||
struct nft_set {
|
||||
struct list_head list;
|
||||
struct list_head bindings;
|
||||
char name[IFNAMSIZ];
|
||||
char name[NFT_SET_MAXNAMELEN];
|
||||
u32 ktype;
|
||||
u32 dtype;
|
||||
u32 size;
|
||||
|
Reference in New Issue
Block a user