Skip to contentSkip to conversation

netfilter: fix Kconfig dependencies for nf_dup_ipv{4,6}

PATCH New Pablo Neira Ayuso 1 participant 1 message Sep 29, 2015

Subsystems (2)
lore
Share & tools
lore

Pablo Neira Ayuso

author maintainer
#0 lore raw

PATCH 1/1 netfilter: fix Kconfig dependencies for nf_dup_ipv{4,6}

net/built-in.o: In function nf_dup_ipv4': (.text+0xed24d): undefined reference to nf_conntrack_untracked' net/built-in.o: In function nf_dup_ipv4': (.text+0xed267): undefined reference to nf_conntrack_untracked' net/built-in.o: In function nf_dup_ipv6': (.text+0x158aef): undefined reference to nf_conntrack_untracked' net/built-in.o: In function nf_dup_ipv6': (.text+0x158b09): undefined reference to nf_conntrack_untracked'

---
 net/ipv4/netfilter/Kconfig | 1 +
 net/ipv6/netfilter/Kconfig | 1 +
 2 files changed, 2 insertions(+)
net/ipv4/netfilter/Kconfig +1 -0
index 690d27d..a355841 100644
@@ -75,6 +75,7 @@ endif # NF_TABLES
 
 config NF_DUP_IPV4
 	tristate "Netfilter IPv4 packet duplication to alternate destination"
+	depends on !NF_CONNTRACK || NF_CONNTRACK
 	help
 	  This option enables the nf_dup_ipv4 core, which duplicates an IPv4
 	  packet to be rerouted to another destination.
net/ipv6/netfilter/Kconfig +1 -0
index 96833e4..f6a024e 100644
@@ -58,6 +58,7 @@ endif # NF_TABLES
 
 config NF_DUP_IPV6
 	tristate "Netfilter IPv6 packet duplication to alternate destination"
+	depends on !NF_CONNTRACK || NF_CONNTRACK
 	help
 	  This option enables the nf_dup_ipv6 core, which duplicates an IPv6
 	  packet to be rerouted to another destination.
Signature · 1 line
2.1.4