* flowtable crash in nf_flow_table_indr_block_cb
[not found] <2d1dd983-bc7c-7e8d-965d-0ec7d9716c1a@ucloud.cn>
@ 2020-04-05 3:28 ` wenxu
0 siblings, 0 replies; only message in thread
From: wenxu @ 2020-04-05 3:28 UTC (permalink / raw)
To: netfilter-devel
Hi Pablo,
Flowtable will crash in nf_flow_table_indr_block_cb when the nf_tables
modules is not in.
# modprobe act_ct
The act_ct will auto load the flowtable modules.
# ip l a dev gre type gretap external.
nf_flow_table_indr_block_cb will crash for the uninit in net->nft.tables.
I thinkthe following patch is not good a solution indeely
http://patchwork.ozlabs.org/patch/1257422/
The flowtable can be used by both nf_tables and act_ct.
But the nf_flow_table_indr_block_cb in flow_indr_block_entry
only be used for nf_tables. So move the flow_indr_add_block_cb
to the nf_tables modules is a better solution? such as nf_tables_offload.c
or a new nf_flow_table_indr_offload.c?
And the flowtable modules don't need to include the nf_tables.h
BR
wenxu
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-04-05 3:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <2d1dd983-bc7c-7e8d-965d-0ec7d9716c1a@ucloud.cn>
2020-04-05 3:28 ` flowtable crash in nf_flow_table_indr_block_cb wenxu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).