netfilter: nf_tables: set names cannot be larger than 15 bytes
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 24 Mar 2014 14:10:37 +0000 (15:10 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 3 Apr 2014 21:52:44 +0000 (23:52 +0200)
commita9bdd8365684810e3de804f8c51e52c26a5eccbb
tree543e8c601e5227755ef741b85705cd8561f1b247
parent223b02d923ecd7c84cf9780bb3686f455d279279
netfilter: nf_tables: set names cannot be larger than 15 bytes

Currently, nf_tables trims off the set name if it exceeeds 15
bytes, so explicitly reject set names that are too large.

Reported-by: Giuseppe Longo <giuseppelng@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c