]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit805c939488fa2b5e32de5266dc1ba2452ea73e8e
tree6f18d9923df2f1fe40c05409f09ff21ea8af5800
parent63070f748d871933834c32040960a59ea1923d7b
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