From: Patrick McHardy Date: Thu, 9 Jan 2014 18:42:31 +0000 (+0000) Subject: netfilter: nf_tables: split chain policy validation from actually setting it X-Git-Tag: v3.14-rc1~94^2~245^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57de2a0cd9d7e4cfc6479ecbebfcd36dbc61d5ed;p=pandora-kernel.git netfilter: nf_tables: split chain policy validation from actually setting it Currently nf_tables_newchain() atomicity is broken because of having validation of some netlink attributes performed after changing attributes of the chain. The chain policy is (currently) fine, but split it up as preparation for the following fixes and to avoid future mistakes. Signed-off-by: Patrick McHardy Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed