All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH nf-next] netfilter: Kconfig: make NF_FLOW_TABLE_INET depend on NF_TABLES_INET
@ 2026-03-26 14:42 Fernando Fernandez Mancera
  2026-04-10  1:09 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 3+ messages in thread
From: Fernando Fernandez Mancera @ 2026-03-26 14:42 UTC (permalink / raw)
  To: netfilter-devel; +Cc: coreteam, phil, fw, pablo, Fernando Fernandez Mancera

As it is not possible to create an inet flowtable without a parent table
on inet family, it makes sense that Kconfig NF_FLOW_TABLE_INET symbol
depends on NF_TABLES_INET. This reduces the kernel image size a bit when
compiling the kernel with CONFIG_IPV6=n.

Signed-off-by: Fernando Fernandez Mancera <fmancera@suse.de>
---
 net/netfilter/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/netfilter/Kconfig b/net/netfilter/Kconfig
index 6cdc994fdc8a..c50f2ad67b51 100644
--- a/net/netfilter/Kconfig
+++ b/net/netfilter/Kconfig
@@ -717,6 +717,7 @@ endif # NF_TABLES
 config NF_FLOW_TABLE_INET
 	tristate "Netfilter flow table mixed IPv4/IPv6 module"
 	depends on NF_FLOW_TABLE
+	depends on NF_TABLES_INET
 	help
 	  This option adds the flow table mixed IPv4/IPv6 support.
 
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-04-10  8:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-26 14:42 [PATCH nf-next] netfilter: Kconfig: make NF_FLOW_TABLE_INET depend on NF_TABLES_INET Fernando Fernandez Mancera
2026-04-10  1:09 ` Pablo Neira Ayuso
2026-04-10  8:12   ` Fernando Fernandez Mancera

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.