mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]>
This commit is contained in:
parent
d7cdf81657
commit
cb39ad8b8e
3 changed files with 5 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue