mirror of https://gitee.com/openkylin/linux.git
[NETFILTER] Fix Kconfig dependencies for nfnetlink/ctnetlink
Signed-off-by: Harald Welte <laforge@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
22abe310bc
commit
777ed97f3e
|
@ -8,6 +8,7 @@ menu "IP: Netfilter Configuration"
|
||||||
# connection tracking, helpers and protocols
|
# connection tracking, helpers and protocols
|
||||||
config IP_NF_CONNTRACK
|
config IP_NF_CONNTRACK
|
||||||
tristate "Connection tracking (required for masq/NAT)"
|
tristate "Connection tracking (required for masq/NAT)"
|
||||||
|
select NETFILTER_NETLINK if IP_NF_CONNTRACK_NETLINK!=n
|
||||||
---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
|
||||||
|
@ -51,6 +52,15 @@ config IP_NF_CONNTRACK_EVENTS
|
||||||
|
|
||||||
IF unsure, say `N'.
|
IF unsure, say `N'.
|
||||||
|
|
||||||
|
config IP_NF_CONNTRACK_NETLINK
|
||||||
|
tristate 'Connection tracking netlink interface'
|
||||||
|
depends on IP_NF_CONNTRACK && NETFILTER_NETLINK
|
||||||
|
default IP_NF_CONNTRACK if NETFILTER_NETLINK=y
|
||||||
|
default m if NETFILTER_NETLINK=m
|
||||||
|
help
|
||||||
|
This option enables support for a netlink-based userspace interface
|
||||||
|
|
||||||
|
|
||||||
config IP_NF_CT_PROTO_SCTP
|
config IP_NF_CT_PROTO_SCTP
|
||||||
tristate 'SCTP protocol connection tracking support (EXPERIMENTAL)'
|
tristate 'SCTP protocol connection tracking support (EXPERIMENTAL)'
|
||||||
depends on IP_NF_CONNTRACK && EXPERIMENTAL
|
depends on IP_NF_CONNTRACK && EXPERIMENTAL
|
||||||
|
@ -774,11 +784,5 @@ config IP_NF_ARP_MANGLE
|
||||||
Allows altering the ARP packet payload: source and destination
|
Allows altering the ARP packet payload: source and destination
|
||||||
hardware and network addresses.
|
hardware and network addresses.
|
||||||
|
|
||||||
config IP_NF_CONNTRACK_NETLINK
|
|
||||||
tristate 'Connection tracking netlink interface'
|
|
||||||
depends on IP_NF_CONNTRACK && NETFILTER_NETLINK
|
|
||||||
help
|
|
||||||
This option enables support for a netlink-based userspace interface
|
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue