Skip to content

Commit

Permalink
netfilter: flowtable: fix incorrect Kconfig dependencies
Browse files Browse the repository at this point in the history
Remove default to 'y', this infrastructure is not fundamental for the
flowtable operational.

Add a missing dependency on CONFIG_NF_FLOW_TABLE.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Fixes: b038177 ("netfilter: nf_flow_table: count pending offload workqueue tasks")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
ummakynes authored and kuba-moo committed Aug 6, 2022
1 parent fe9e420 commit b06ada6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions net/netfilter/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -736,9 +736,8 @@ config NF_FLOW_TABLE

config NF_FLOW_TABLE_PROCFS
bool "Supply flow table statistics in procfs"
default y
depends on NF_FLOW_TABLE
depends on PROC_FS
depends on SYSCTL
help
This option enables for the flow table offload statistics
to be shown in procfs under net/netfilter/nf_flowtable.
Expand Down

0 comments on commit b06ada6

Please sign in to comment.