netfilter: nf_tables: relax string validation of NFTA_CHAIN_TYPE
authorPablo Neira <pablo@netfilter.org>
Mon, 31 Mar 2014 15:43:47 +0000 (17:43 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 28 Apr 2014 14:54:15 +0000 (16:54 +0200)
commit4c1f7818e4002ceb0498ef48cb7efa7a9597d210
treee6f27d8017dd678da3565701589d1dfe7b6c1641
parentf5efc696cc711021cc73e7543cc3038e58459707
netfilter: nf_tables: relax string validation of NFTA_CHAIN_TYPE

Use NLA_STRING for consistency with other string attributes in
nf_tables.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c