diff options
author | Phil Sutter <phil@nwl.cc> | 2017-07-27 16:56:44 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-07-31 20:41:59 +0200 |
commit | 615095752100748e221028fc96163c2b78185ae4 (patch) | |
tree | ed3fed47e24762017caa99efbd12bc3513383ee0 /include/net | |
parent | 387454901bd62022ac1b04e15bd8d4fcc60bbed4 (diff) | |
download | linux-615095752100748e221028fc96163c2b78185ae4.tar.gz linux-615095752100748e221028fc96163c2b78185ae4.tar.bz2 linux-615095752100748e221028fc96163c2b78185ae4.zip |
netfilter: nf_tables: Allow object 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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/netfilter/nf_tables.h b/include/net/netfilter/nf_tables.h index 66ba62fa7d90..f9795fe394f3 100644 --- a/include/net/netfilter/nf_tables.h +++ b/include/net/netfilter/nf_tables.h @@ -1016,7 +1016,7 @@ int nft_verdict_dump(struct sk_buff *skb, int type, */ struct nft_object { struct list_head list; - char name[NFT_OBJ_MAXNAMELEN]; + char *name; struct nft_table *table; u32 genmask:2, use:30; |