Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2eeeba39 authored by Patrick McHardy's avatar Patrick McHardy Committed by David S. Miller
Browse files

[NETFILTER]: Select CONFIG_NETFILTER_NETLINK when needed

parent ab4f58c7
Loading
Loading
Loading
Loading
+5 −8
Original line number Original line Diff line number Diff line
@@ -2,21 +2,18 @@ menu "Core Netfilter Configuration"
	depends on NET && INET && NETFILTER
	depends on NET && INET && NETFILTER


config NETFILTER_NETLINK
config NETFILTER_NETLINK
       tristate "Netfilter netlink interface"
	tristate
       help
         If this option is enabled, the kernel will include support
         for the new netfilter netlink interface.


config NETFILTER_NETLINK_QUEUE
config NETFILTER_NETLINK_QUEUE
	tristate "Netfilter NFQUEUE over NFNETLINK interface"
	tristate "Netfilter NFQUEUE over NFNETLINK interface"
	depends on NETFILTER_NETLINK
	select NETFILTER_NETLINK
	help
	help
	  If this option is enabled, the kernel will include support
	  If this option is enabled, the kernel will include support
	  for queueing packets via NFNETLINK.
	  for queueing packets via NFNETLINK.
	  
	  
config NETFILTER_NETLINK_LOG
config NETFILTER_NETLINK_LOG
	tristate "Netfilter LOG over NFNETLINK interface"
	tristate "Netfilter LOG over NFNETLINK interface"
	depends on NETFILTER_NETLINK
	select NETFILTER_NETLINK
	help
	help
	  If this option is enabled, the kernel will include support
	  If this option is enabled, the kernel will include support
	  for logging packets via NFNETLINK.
	  for logging packets via NFNETLINK.
@@ -246,8 +243,8 @@ config NF_CONNTRACK_TFTP


config NF_CT_NETLINK
config NF_CT_NETLINK
	tristate 'Connection tracking netlink interface (EXPERIMENTAL)'
	tristate 'Connection tracking netlink interface (EXPERIMENTAL)'
	depends on EXPERIMENTAL && NF_CONNTRACK && NETFILTER_NETLINK
	depends on EXPERIMENTAL && NF_CONNTRACK
	depends on NF_CONNTRACK!=y || NETFILTER_NETLINK!=m
	select NETFILTER_NETLINK
	depends on NF_NAT=n || NF_NAT
	depends on NF_NAT=n || NF_NAT
	help
	help
	  This option enables support for a netlink-based userspace interface
	  This option enables support for a netlink-based userspace interface