diff options
author | Patrick McHardy <kaber@trash.net> | 2007-12-05 04:31:52 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:56:25 -0500 |
commit | 2eeeba390ae28fcd742e44706c363cb36bc614c6 (patch) | |
tree | 1e68f139641e480ebafbc29060faab361cbe7626 | |
parent | ab4f58c77a189d1100383e0c901cb8e90c3ab4f7 (diff) |
[NETFILTER]: Select CONFIG_NETFILTER_NETLINK when needed
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/netfilter/Kconfig | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/net/netfilter/Kconfig b/net/netfilter/Kconfig index 772c58cc2c7e..bb61f83c7a75 100644 --- a/net/netfilter/Kconfig +++ b/net/netfilter/Kconfig | |||
@@ -2,21 +2,18 @@ menu "Core Netfilter Configuration" | |||
2 | depends on NET && INET && NETFILTER | 2 | depends on NET && INET && NETFILTER |
3 | 3 | ||
4 | config NETFILTER_NETLINK | 4 | config NETFILTER_NETLINK |
5 | tristate "Netfilter netlink interface" | 5 | tristate |
6 | help | ||
7 | If this option is enabled, the kernel will include support | ||
8 | for the new netfilter netlink interface. | ||
9 | 6 | ||
10 | config NETFILTER_NETLINK_QUEUE | 7 | config NETFILTER_NETLINK_QUEUE |
11 | tristate "Netfilter NFQUEUE over NFNETLINK interface" | 8 | tristate "Netfilter NFQUEUE over NFNETLINK interface" |
12 | depends on NETFILTER_NETLINK | 9 | select NETFILTER_NETLINK |
13 | help | 10 | help |
14 | If this option is enabled, the kernel will include support | 11 | If this option is enabled, the kernel will include support |
15 | for queueing packets via NFNETLINK. | 12 | for queueing packets via NFNETLINK. |
16 | 13 | ||
17 | config NETFILTER_NETLINK_LOG | 14 | config NETFILTER_NETLINK_LOG |
18 | tristate "Netfilter LOG over NFNETLINK interface" | 15 | tristate "Netfilter LOG over NFNETLINK interface" |
19 | depends on NETFILTER_NETLINK | 16 | select NETFILTER_NETLINK |
20 | help | 17 | help |
21 | If this option is enabled, the kernel will include support | 18 | If this option is enabled, the kernel will include support |
22 | for logging packets via NFNETLINK. | 19 | for logging packets via NFNETLINK. |
@@ -246,8 +243,8 @@ config NF_CONNTRACK_TFTP | |||
246 | 243 | ||
247 | config NF_CT_NETLINK | 244 | config NF_CT_NETLINK |
248 | tristate 'Connection tracking netlink interface (EXPERIMENTAL)' | 245 | tristate 'Connection tracking netlink interface (EXPERIMENTAL)' |
249 | depends on EXPERIMENTAL && NF_CONNTRACK && NETFILTER_NETLINK | 246 | depends on EXPERIMENTAL && NF_CONNTRACK |
250 | depends on NF_CONNTRACK!=y || NETFILTER_NETLINK!=m | 247 | select NETFILTER_NETLINK |
251 | depends on NF_NAT=n || NF_NAT | 248 | depends on NF_NAT=n || NF_NAT |
252 | help | 249 | help |
253 | This option enables support for a netlink-based userspace interface | 250 | This option enables support for a netlink-based userspace interface |