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)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 9 Jan 2022 22:30:14 +0000 (23:30 +0100)
commit408bdcfce8dfd6902f75fbcd3b99d8b24b506597
tree066eb062ca029e3e13e75cdc0f0cb5753d6f7605
parent6ae7989c9af0d98ab64196f4f4c6f6499454bd23
net: prefer nf_ct_put instead of nf_conntrack_put

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>
net/netfilter/nf_conntrack_core.c
net/openvswitch/conntrack.c
net/sched/act_ct.c