flowtable crash in nf_flow_table_indr_block_cb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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









[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux