]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: get rid of NFT_BASECHAIN_DISABLED
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 22 Jun 2016 12:26:33 +0000 (14:26 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 24 Jun 2016 09:03:28 +0000 (11:03 +0200)
commit89ad9044b9ef07d949fc2a908d55c703109e4596
treef06e8722069d5ae0758b2dbc41b1fdafa70e53bc
parentc9c00724b99e56819459a81f82e209f591925480
netfilter: nf_tables: get rid of NFT_BASECHAIN_DISABLED

This flag was introduced to restore rulesets from the new netdev
family, but since 846be23b1718d24 ("netfilter: nf_tables: destroy
basechain and rules on netdevice removal") the ruleset is released
once the netdev is gone.

This also removes nft_register_basechain() and
nft_unregister_basechain() since they have no clients anymore after
this rework.

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