]> 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)
commitc5c288134f6ad90a23b8d0feff9598872a7ed136
tree2c9674a18ac0af54f356e0770a85910f0547cfa0
parentc8809a1aa908a595146c2876c25e0dfe7aea87de
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