]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: add helper to unregister chain hooks
authorArturo Borrero <arturo.borrero.glez@gmail.com>
Tue, 2 Sep 2014 14:42:23 +0000 (16:42 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 9 Sep 2014 14:31:21 +0000 (16:31 +0200)
commit90153651bd10da83a90fee0c9c552299716b5efe
tree2c9674a18ac0af54f356e0770a85910f0547cfa0
parent5dfe77f1894b08f3129bcf0b7278230f158c6ac4
netfilter: nf_tables: add helper to unregister chain hooks

This patch adds a helper function to unregister chain hooks in the chain
deletion path. Basically, a code factorization.

The new function is useful in follow-up patches.

Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c