]> 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)
commitaf8c943734b97286fef82600e12cf5fd3fbd4ae3
tree066eb062ca029e3e13e75cdc0f0cb5753d6f7605
parent97146d11e23f92dc012b8f940f187f6ad0d7aa02
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