Commit 9b54d5c6 authored by David S. Miller's avatar David S. Miller

[NETFILTER] IPV6: Fix dependencies.

Although the menu dependencies in net/ipv6/netfilter/Kconfig
guard the entries in that file from the Kconfig GUI, this does
not prevent them from being selected still via "make oldconfig"
when IPV6 etc. is disabled.

So add explicit dependencies.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6634292b
...@@ -7,7 +7,7 @@ menu "IPv6: Netfilter Configuration (EXPERIMENTAL)" ...@@ -7,7 +7,7 @@ menu "IPv6: Netfilter Configuration (EXPERIMENTAL)"
config NF_CONNTRACK_IPV6 config NF_CONNTRACK_IPV6
tristate "IPv6 connection tracking support (EXPERIMENTAL)" tristate "IPv6 connection tracking support (EXPERIMENTAL)"
depends on EXPERIMENTAL && NF_CONNTRACK depends on INET && IPV6 && EXPERIMENTAL && NF_CONNTRACK
---help--- ---help---
Connection tracking keeps a record of what packets have passed Connection tracking keeps a record of what packets have passed
through your machine, in order to figure out how they are related through your machine, in order to figure out how they are related
...@@ -21,6 +21,7 @@ config NF_CONNTRACK_IPV6 ...@@ -21,6 +21,7 @@ config NF_CONNTRACK_IPV6
config IP6_NF_QUEUE config IP6_NF_QUEUE
tristate "IP6 Userspace queueing via NETLINK (OBSOLETE)" tristate "IP6 Userspace queueing via NETLINK (OBSOLETE)"
depends on INET && IPV6 && NETFILTER && EXPERIMENTAL
---help--- ---help---
This option adds a queue handler to the kernel for IPv6 This option adds a queue handler to the kernel for IPv6
...@@ -41,7 +42,7 @@ config IP6_NF_QUEUE ...@@ -41,7 +42,7 @@ config IP6_NF_QUEUE
config IP6_NF_IPTABLES config IP6_NF_IPTABLES
tristate "IP6 tables support (required for filtering)" tristate "IP6 tables support (required for filtering)"
depends on NETFILTER_XTABLES depends on INET && IPV6 && EXPERIMENTAL && NETFILTER_XTABLES
help help
ip6tables is a general, extensible packet identification framework. ip6tables is a general, extensible packet identification framework.
Currently only the packet filtering and packet mangling subsystem Currently only the packet filtering and packet mangling subsystem
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment