diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-03-05 15:05:36 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-03-06 01:21:21 +0100 |
commit | 1cae565e8b746f484f1ff1b71d2a1c89d7cf0668 (patch) | |
tree | ab950a36bfd550a55fda8dc1e6acc546df02c8a6 /include/uapi | |
parent | f04e599e20d7ee9b9e5069c7d1ff59c21b9bf4c2 (diff) | |
download | op-kernel-dev-1cae565e8b746f484f1ff1b71d2a1c89d7cf0668.zip op-kernel-dev-1cae565e8b746f484f1ff1b71d2a1c89d7cf0668.tar.gz |
netfilter: nf_tables: limit maximum table name length to 32 bytes
Set the same as we use for chain names, it should be enough.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/netfilter/nf_tables.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/netfilter/nf_tables.h b/include/uapi/linux/netfilter/nf_tables.h index 832bc46..b978393 100644 --- a/include/uapi/linux/netfilter/nf_tables.h +++ b/include/uapi/linux/netfilter/nf_tables.h @@ -1,6 +1,7 @@ #ifndef _LINUX_NF_TABLES_H #define _LINUX_NF_TABLES_H +#define NFT_TABLE_MAXNAMELEN 32 #define NFT_CHAIN_MAXNAMELEN 32 #define NFT_USERDATA_MAXLEN 256 |