archive mirror
 help / color / mirror / Atom feed
From: wenxu <>
Subject: flowtable crash in nf_flow_table_indr_block_cb
Date: Sun, 5 Apr 2020 11:28:00 +0800	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

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

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



           reply	other threads:[~2020-04-05  3:29 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \
    --subject='Re: flowtable crash in nf_flow_table_indr_block_cb' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).