diff options
| author | Pablo Neira Ayuso <pablo@netfilter.org> | 2026-06-04 08:21:09 +0200 |
|---|---|---|
| committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2026-06-05 13:25:18 +0200 |
| commit | 6031487d4e273d7e7c8c7deea5061b7a9aaa9db3 (patch) | |
| tree | 58c03635c0e5906190736264b85a099202c5e7c2 /include/linux/timerqueue.h | |
| parent | 7d6a9cdb8d3a51d9cfe546a09a518ab3d2671549 (diff) | |
netfilter: nf_conntrack_helper: dynamically allocate struct nf_conntrack_helper
Adapt all existing helpers to use a modified version of
nf_ct_helper_init(), to dynamically allocate struct nf_conntrack_helper.
Allocate expect_policy[] built-in into the helper to ensure this area is
reachable after helper removal since a follow up patch adds refcount to
track use of the nf_conntrack_helper structure from packet path so it
remains around until last reference from ct helper extension is dropped.
Export __nf_conntrack_helper_register() which allows to register
nfnetlink_cthelper dynamically allocated helper. Adapt nfnetlink_cthelper
to use the built-in expect_policy[].
This is a preparation patch to add packet path refcounting to helpers.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
