]> git.hungrycats.org Git - linux/commit
netfilter: core: move ip_ct_attach indirection to struct nf_ct_hook
authorFlorian Westphal <fw@strlen.de>
Fri, 7 Jan 2022 04:03:23 +0000 (05:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Mar 2024 14:38:46 +0000 (14:38 +0000)
commit2cb39bea7085dba1a8872e934dab3cf5a642448e
treeb77c03f714e459aa3b8a0de3661acb6b2d2340cf
parent84d3baab4b8945b8143fcffab21d5e93ed7f9672
netfilter: core: move ip_ct_attach indirection to struct nf_ct_hook

[ Upstream commit 3fce16493dc1aa2c9af3d7e7bd360dfe203a3e6a ]

ip_ct_attach predates struct nf_ct_hook, we can place it there and
remove the exported symbol.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Stable-dep-of: 62e7151ae3eb ("netfilter: bridge: confirm multicast packets before passing them up the stack")
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/netfilter.h
net/netfilter/core.c
net/netfilter/nf_conntrack_core.c