]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
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)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 20 May 2022 12:39:39 +0000 (14:39 +0200)
commit727aae5ba8568c58d974b9d3a98e0ac3cc6d1bdc
tree08731b74e3b149577bfd982ecb49af53931c19f8
parenteb2620192a7ef9d3084df4d842f48ce95494da68
net: prefer nf_ct_put instead of nf_conntrack_put

BugLink: https://bugs.launchpad.net/bugs/1969110
[ 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>
(cherry picked from commit 72dd9e61fa319bc44020c2d365275fc8f6799bff)
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
net/netfilter/nf_conntrack_core.c
net/openvswitch/conntrack.c
net/sched/act_ct.c