Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

netfilter: nf_dup: add missing dependencies with NF_CONNTRACK

CONFIG_NF_CONNTRACK=m
CONFIG_NF_DUP_IPV4=y

results in:

net/built-in.o: In function `nf_dup_ipv4':
>> (.text+0xd434f): undefined reference to `nf_conntrack_untracked'

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>

+2
+1
net/ipv4/netfilter/Kconfig
··· 60 60 61 61 config NFT_DUP_IPV4 62 62 tristate "IPv4 nf_tables packet duplication support" 63 + depends on !NF_CONNTRACK || NF_CONNTRACK 63 64 select NF_DUP_IPV4 64 65 help 65 66 This module enables IPv4 packet duplication support for nf_tables.
+1
net/ipv6/netfilter/Kconfig
··· 49 49 50 50 config NFT_DUP_IPV6 51 51 tristate "IPv6 nf_tables packet duplication support" 52 + depends on !NF_CONNTRACK || NF_CONNTRACK 52 53 select NF_DUP_IPV6 53 54 help 54 55 This module enables IPv6 packet duplication support for nf_tables.