Skip to contentSkip to conversation

netfilter: flowtable: fix incorrect Kconfig dependencies

PATCH New Pablo Neira Ayuso 1 participant 1 message Aug 4, 2022

Subsystems (2)
lore
Share & tools
lore

Pablo Neira Ayuso

author maintainer
#0 lore raw

PATCH 1/1 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.

Fixes b038177636f8 ("netfilter: nf_flow_table: count pending offload workqueue tasks")
---
 net/netfilter/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
net/netfilter/Kconfig +1 -2
index df6abbfe0079..22f15ebf6045 100644
@@ -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.
Signature · 1 line
2.30.2