Commit b06ada6d authored by Pablo Neira Ayuso's avatar Pablo Neira Ayuso Committed by Jakub Kicinski
Browse files

netfilter: flowtable: fix incorrect Kconfig dependencies



Remove default to 'y', this infrastructure is not fundamental for the
flowtable operational.

Add a missing dependency on CONFIG_NF_FLOW_TABLE.

Reported-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Fixes: b0381776 ("netfilter: nf_flow_table: count pending offload workqueue tasks")
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent fe9e420d
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -736,9 +736,8 @@ config NF_FLOW_TABLE


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