]> git.baikalelectronics.ru Git - 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)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 9 Jan 2022 22:30:14 +0000 (23:30 +0100)
commit6bc41c4108dc30aa68261b7fbd2752bd240134d8
tree066eb062ca029e3e13e75cdc0f0cb5753d6f7605
parent93ea41226a7682d4bcfe213afd317e8bf7ef4ed1
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