Commit 80d652d2 authored by Florian Westphal's avatar Florian Westphal Committed by Lu Wei
Browse files

netfilter: nf_tables: use net_generic infra for transaction data

stable inclusion
from stable-v5.10.188
commit 3f51f1157f67e9f16602db2694492a3b0e9aec2e
bugzilla: https://gitee.com/openeuler/kernel/issues/I86JB6

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3f51f1157f67e9f16602db2694492a3b0e9aec2e



--------------------------------

[ Upstream commit 0854db2a ]

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: default avatarFlorian Westphal <fw@strlen.de>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

conflict:
	include/net/netns/nftables.h
	net/netfilter/nf_tables_api.c

Signed-off-by: default avatarLu Wei <luwei32@huawei.com>
parent 90ce6a96
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment