mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
netfilter: nf_tables: add generation mask to chains
Similar to ("netfilter: nf_tables: add generation mask to tables").
Signed-off-by: Pablo Neira Ayuso <[email protected]>
This commit is contained in:
parent
f2a6d76676
commit
664b0f8cd8
2 changed files with 60 additions and 33 deletions
|
|
@ -732,7 +732,6 @@ static inline struct nft_userdata *nft_userdata(const struct nft_rule *rule)
|
|||
|
||||
enum nft_chain_flags {
|
||||
NFT_BASE_CHAIN = 0x1,
|
||||
NFT_CHAIN_INACTIVE = 0x2,
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
@ -754,7 +753,8 @@ struct nft_chain {
|
|||
u64 handle;
|
||||
u32 use;
|
||||
u16 level;
|
||||
u8 flags;
|
||||
u8 flags:6,
|
||||
genmask:2;
|
||||
char name[NFT_CHAIN_MAXNAMELEN];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue