OSDN Git Service

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)
commit82bec71d46b83f39860e2838ff8394e4fcd6efab
treef06e8722069d5ae0758b2dbc41b1fdafa70e53bc
parent3183ab8997a477c8d9ad175a1cef70dff77c6dbc
netfilter: nf_tables: get rid of NFT_BASECHAIN_DISABLED

This flag was introduced to restore rulesets from the new netdev
family, but since 5ebe0b0eec9d6f7 ("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