netfilter: nf_tables: limit maximum table name length to 32 bytes
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 5 Mar 2015 14:05:36 +0000 (15:05 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 6 Mar 2015 00:21:21 +0000 (01:21 +0100)
commit1cae565e8b746f484f1ff1b71d2a1c89d7cf0668
treeab950a36bfd550a55fda8dc1e6acc546df02c8a6
parentf04e599e20d7ee9b9e5069c7d1ff59c21b9bf4c2
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>
include/net/netfilter/nf_tables.h
include/uapi/linux/netfilter/nf_tables.h
net/netfilter/nf_tables_api.c