]> git.baikalelectronics.ru Git - kernel.git/commitdiff
netfilter: flowtable: fix incorrect Kconfig dependencies
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 4 Aug 2022 17:26:29 +0000 (19:26 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 6 Aug 2022 01:50:15 +0000 (18:50 -0700)
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: 1033d388cf60 ("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>
net/netfilter/Kconfig

index df6abbfe00797a5464145916fe4d2bc8a3d79206..22f15ebf6045b3a9ad699d67a98f4f47f7c8568c 100644 (file)
@@ -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.