netfilter: nf_tables: introduce nft_chain_parse_hook()
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 1 Aug 2016 22:20:01 +0000 (00:20 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 23 Aug 2016 15:04:25 +0000 (17:04 +0200)
commit508f8ccdab0ef530dbc0ef8bb526ee11acc409ed
tree6f18d9923df2f1fe40c05409f09ff21ea8af5800
parentb43f95695124baba9f7c48e247fc8fd212a984d9
netfilter: nf_tables: introduce nft_chain_parse_hook()

Introduce a new function to wrap the code that parses the chain hook
configuration so we can reuse this code to validate chain updates.

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