]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: perform flags validation before table allocation
authorPatrick McHardy <kaber@trash.net>
Thu, 9 Jan 2014 18:42:39 +0000 (18:42 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 9 Jan 2014 19:17:15 +0000 (20:17 +0100)
commit38473f527afc6ffc4e369d144c0d9cbbf4f107c4
tree0eac81ed22f207844b245fe8c223e4653b25f1e5
parent93244f76787f3cee9740bd9fe0180030b2829d72
netfilter: nf_tables: perform flags validation before table allocation

Simplifies error handling. Additionally use the correct type u32 for the
host byte order flags value.

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