mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 18:13:41 +02:00
netfilter: nf_tables: compact chain+ft transaction objects
Cover holes to reduce both structures by 8 byte. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
parent
17d8f3ad36
commit
b3f4c216f7
|
|
@ -1687,10 +1687,10 @@ struct nft_trans_set {
|
|||
struct nft_trans_chain {
|
||||
struct nft_trans_binding nft_trans_binding;
|
||||
struct nft_chain *chain;
|
||||
bool update;
|
||||
char *name;
|
||||
struct nft_stats __percpu *stats;
|
||||
u8 policy;
|
||||
bool update;
|
||||
bool bound;
|
||||
u32 chain_id;
|
||||
struct nft_base_chain *basechain;
|
||||
|
|
@ -1763,9 +1763,9 @@ struct nft_trans_obj {
|
|||
struct nft_trans_flowtable {
|
||||
struct nft_trans nft_trans;
|
||||
struct nft_flowtable *flowtable;
|
||||
bool update;
|
||||
struct list_head hook_list;
|
||||
u32 flags;
|
||||
bool update;
|
||||
};
|
||||
|
||||
#define nft_trans_container_flowtable(t) \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user