]> Pileus Git - ~andy/linux/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)
commitc5c1f975ada48801f1e08e2215714315fa9cf306
tree0eac81ed22f207844b245fe8c223e4653b25f1e5
parentfa2c1de0bbd98985f7f930205de97ae0d3e86c16
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