Files
kernel/include/linux
Florian Westphal 6ae7989c9a netfilter: conntrack: avoid useless indirection during conntrack destruction
nf_ct_put() results in a usesless indirection:

nf_ct_put -> nf_conntrack_put -> nf_conntrack_destroy -> rcu readlock +
indirect call of ct_hooks->destroy().

There are two _put helpers:
nf_ct_put and nf_conntrack_put.  The latter is what should be used in
code that MUST NOT cause a linker dependency on the conntrack module
(e.g. calls from core network stack).

Everyone else should call nf_ct_put() instead.

A followup patch will convert a few nf_conntrack_put() calls to
nf_ct_put(), in particular from modules that already have a conntrack
dependency such as act_ct or even nf_conntrack itself.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2022-01-09 23:30:13 +01:00
..
2021-11-23 19:13:00 +01:00
2021-10-07 16:51:57 +02:00
2021-10-18 14:43:23 -06:00
2021-11-12 10:19:09 -08:00
2021-11-17 10:36:15 -05:00
2021-10-25 12:01:14 +05:30
2021-11-17 10:36:35 -05:00
2021-10-18 07:49:38 -04:00
2021-11-15 07:53:10 -08:00
2021-10-18 07:49:39 -04:00
2021-11-06 14:08:17 -07:00
2021-11-10 21:16:56 +00:00
2021-11-16 19:07:53 -08:00
2021-10-18 07:49:39 -04:00
2021-11-17 10:36:35 -05:00
2021-10-14 13:29:18 +02:00
2021-10-07 16:51:57 +02:00
2021-10-18 07:49:39 -04:00
2021-10-18 17:20:50 +02:00
2021-10-30 16:37:28 +02:00
2021-11-16 13:10:34 +00:00
2021-11-06 13:30:43 -07:00
2021-10-26 14:58:45 +01:00
2021-11-03 11:41:25 -07:00
2021-10-07 13:51:11 +02:00
2021-12-08 17:58:59 -08:00
2021-10-19 23:44:30 +08:00