mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
netfilter: nf_tables: get rid of NFT_BASECHAIN_DISABLED
This flag was introduced to restore rulesets from the new netdev
family, but since 5ebe0b0eec ("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>
This commit is contained in:
parent
3183ab8997
commit
82bec71d46
2 changed files with 25 additions and 38 deletions
|
|
@ -798,7 +798,6 @@ struct nft_stats {
|
|||
};
|
||||
|
||||
#define NFT_HOOK_OPS_MAX 2
|
||||
#define NFT_BASECHAIN_DISABLED (1 << 0)
|
||||
|
||||
/**
|
||||
* struct nft_base_chain - nf_tables base chain
|
||||
|
|
|
|||
Loading…
Reference in a new issue