net: prefer nf_ct_put instead of nf_conntrack_put
authorFlorian Westphal <fw@strlen.de>
Fri, 7 Jan 2022 04:03:26 +0000 (05:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 12:23:53 +0000 (14:23 +0200)
commit72dd9e61fa319bc44020c2d365275fc8f6799bff
tree385c229ba86dbdb22189268b1d3d29a3da6efdff
parent6b663fa23c7ec51489fc43cfd3ce395c46a4e976
net: prefer nf_ct_put instead of nf_conntrack_put

[ Upstream commit 408bdcfce8dfd6902f75fbcd3b99d8b24b506597 ]

Its the same as nf_conntrack_put(), but without the
need for an indirect call.  The downside is a module dependency on
nf_conntrack, but all of these already depend on conntrack anyway.

Cc: Paul Blakey <paulb@mellanox.com>
Cc: dev@openvswitch.org
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/netfilter/nf_conntrack_core.c
net/openvswitch/conntrack.c
net/sched/act_ct.c