mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-15 09:34:17 +00: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…
x
Reference in New Issue
Block a user