diff options
author | Florian Westphal <[email protected]> | 2024-05-13 15:00:43 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <[email protected]> | 2024-06-25 20:40:46 +0200 |
commit | b3f4c216f7af37fa60e50d2ebb3ec9dd0f93886c (patch) | |
tree | 0908df3ff0ae7a5ed4b91a2d562ab485a9ad0945 | |
parent | 17d8f3ad36a5fa5c93afab90ed03ba7ec748dd03 (diff) |
netfilter: nf_tables: compact chain+ft transaction objects
Cover holes to reduce both structures by 8 byte.
Signed-off-by: Florian Westphal <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
-rw-r--r-- | include/net/netfilter/nf_tables.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/netfilter/nf_tables.h b/include/net/netfilter/nf_tables.h index f72448095833..1f0607b671ac 100644 --- a/include/net/netfilter/nf_tables.h +++ b/include/net/netfilter/nf_tables.h @@ -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) \ |