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-12-08 10:12:58 +01:00
2021-12-03 10:58:13 -08:00
2021-12-14 12:45:16 +00:00
2021-11-29 13:02:00 +00:00
2021-12-16 10:22:20 +00:00
2021-11-17 14:52:44 +00:00
2021-11-22 08:41:56 -08:00
2022-01-09 23:30:13 +01:00
2021-11-10 11:36:43 -08:00
2021-12-03 18:24:21 -08:00
2021-11-18 13:57:09 +00:00
2021-12-02 15:08:22 +01:00
2021-11-12 11:53:16 -08:00
2021-11-10 16:45:54 -08:00
2021-11-23 19:13:00 +01:00
2021-11-09 11:20:07 -08:00
2021-11-09 10:02:49 -08:00
2021-12-04 10:10:24 -08:00
2021-12-10 15:56:13 -08:00
2021-11-12 10:19:09 -08:00
2021-12-10 15:56:13 -08:00
2021-11-17 10:36:15 -05:00
2021-12-03 10:58:13 -08:00
2021-11-09 10:02:49 -08:00
2021-11-09 10:02:52 -08:00
2021-11-09 10:02:49 -08:00
2021-11-11 07:37:31 -05:00
2021-11-22 12:31:49 +00:00
2021-12-09 13:23:02 -08:00
2021-11-17 10:36:35 -05:00
2021-11-09 10:02:49 -08:00
2021-11-09 10:02:49 -08:00
2021-11-09 19:19:34 -07:00
2021-12-02 15:35:57 +01:00
2021-11-18 15:05:56 -05:00
2021-11-20 10:35:54 -08:00
2021-11-15 07:53:10 -08:00
2021-12-07 20:44:58 -08:00
2021-12-07 20:44:58 -08:00
2021-12-06 16:05:11 -08:00
2021-11-09 10:02:49 -08:00
2021-11-11 22:45:40 +01:00
2021-11-20 10:35:54 -08:00
2021-11-09 10:02:51 -08:00
2021-11-11 13:09:33 +01:00
2021-12-01 21:04:34 -05:00
2021-11-18 02:11:57 -05:00
2021-11-18 02:03:45 -05:00
2021-11-12 08:05:17 +09:00
2021-11-09 10:02:49 -08:00
2021-11-09 10:02:49 -08:00
2021-11-14 12:21:53 +00:00
2021-11-14 12:21:53 +00:00
2021-11-26 18:31:46 +02:00
2021-11-10 11:29:30 -08:00
2021-11-11 09:34:35 -08:00
2021-11-18 11:29:40 +00:00
2021-11-11 22:45:40 +01:00
2021-12-06 16:06:02 -08:00
2021-11-11 09:50:30 +01:00
2021-12-15 15:07:04 +00:00
2022-01-09 23:30:13 +01:00
2021-11-10 21:16:56 +00:00
2021-12-06 16:06:02 -08:00
2021-11-16 19:07:53 -08:00
2021-11-11 09:34:35 -08:00
2021-11-17 10:36:35 -05:00
2021-11-17 10:36:35 -05:00
2021-11-14 10:38:27 -08:00
2021-11-18 10:50:45 -08:00
2021-12-09 13:23:02 -08:00
2021-12-16 10:37:13 +00:00
2021-11-09 10:02:49 -08:00
2021-11-18 10:03:47 +01:00
2021-11-26 11:38:20 -08:00
2021-11-09 10:02:49 -08:00
2021-12-06 16:04:44 -08:00
2021-11-15 13:27:13 +00:00
2021-11-10 09:05:11 -08:00
2021-11-09 10:11:53 -08:00
2021-11-14 12:21:53 +00:00
2021-12-10 06:38:26 -08:00
2021-11-09 10:02:52 -08:00
2021-11-09 10:11:53 -08:00
2021-12-02 11:44:56 -08:00
2021-12-09 11:54:24 -08:00
2021-11-16 13:10:34 +00:00
2021-11-09 10:11:53 -08:00
2021-11-09 10:02:50 -08:00
2021-11-30 11:57:58 +00:00
2021-11-09 10:02:50 -08:00
2021-12-07 11:36:30 -08:00
2021-11-14 21:21:08 -05:00
2021-12-13 12:42:08 +00:00
2021-11-11 13:09:33 +01:00
2021-11-17 14:50:45 +00:00
2021-11-24 18:47:27 -05:00
2021-12-08 17:58:59 -08:00