OSDN Git Service

netfilter: nf_tables: use net_generic infra for transaction data
authorFlorian Westphal <fw@strlen.de>
Thu, 1 Apr 2021 14:11:10 +0000 (16:11 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 5 Apr 2021 22:34:52 +0000 (00:34 +0200)
commit0854db2aaef3fcdd3498a9d299c60adea2aa3dc6
tree6b66bd8584ce1ee37aaa4201265353cff9eb92f2
parent5b53951cfc85329d29df9d07b1e905f4563546a5
netfilter: nf_tables: use net_generic infra for transaction data

This moves all nf_tables pernet data from struct net to a net_generic
extension, with the exception of the gencursor.

The latter is used in the data path and also outside of the nf_tables
core. All others are only used from the configuration plane.

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
net/netfilter/nf_tables_offload.c
net/netfilter/nft_chain_filter.c
net/netfilter/nft_dynset.c