summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2017-07-27 16:56:44 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2017-07-31 20:41:59 +0200
commit615095752100748e221028fc96163c2b78185ae4 (patch)
treeed3fed47e24762017caa99efbd12bc3513383ee0 /include/net
parent387454901bd62022ac1b04e15bd8d4fcc60bbed4 (diff)
downloadtalos-obmc-linux-615095752100748e221028fc96163c2b78185ae4.tar.gz
talos-obmc-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.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 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;
OpenPOWER on IntegriCloud