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

openvswitch: Fix dependency on IPv6 defrag.

When NF_CONNTRACK is built-in, NF_DEFRAG_IPV6 is a module, and
OPENVSWITCH is built-in, the following build error would occur:

net/built-in.o: In function `ovs_ct_execute':
(.text+0x10f587): undefined reference to `nf_ct_frag6_gather'

Fixes: 7f8a436eaa2c ("openvswitch: Add conntrack action")
Reported-by: Jim Davis <jim.epost@gmail.com>
Signed-off-by: Joe Stringer <joestringer@nicira.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Joe Stringer and committed by
David S. Miller
38c089d1 c2d4fbd2

+2 -1
+2 -1
net/openvswitch/Kconfig
··· 5 5 config OPENVSWITCH 6 6 tristate "Open vSwitch" 7 7 depends on INET 8 - depends on (!NF_CONNTRACK || NF_CONNTRACK) 8 + depends on !NF_CONNTRACK || \ 9 + (NF_CONNTRACK && (!NF_DEFRAG_IPV6 || NF_DEFRAG_IPV6)) 9 10 select LIBCRC32C 10 11 select MPLS 11 12 select NET_MPLS_GSO