]> www.infradead.org Git - users/jedix/linux-maple.git/commit
netfilter: nf_tables: move bind list_head into relevant subtypes
authorFlorian Westphal <fw@strlen.de>
Mon, 24 Jun 2024 18:53:16 +0000 (20:53 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 25 Jun 2024 18:40:46 +0000 (20:40 +0200)
commit17d8f3ad36a5fa5c93afab90ed03ba7ec748dd03
treeee5b28614449c875a533381a5c6ae48fa063b70b
parent605efd54b50437ed9f3915690539d0afddca9d95
netfilter: nf_tables: move bind list_head into relevant subtypes

Only nft_trans_chain and nft_trans_set subtypes use the
trans->binding_list member.

Add a new common binding subtype and move the member there.

This reduces size of all other subtypes by 16 bytes on 64bit platforms.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables.h
net/netfilter/nf_tables_api.c