From: Nicolas Dichtel Date: Thu, 23 Jul 2015 09:29:07 +0000 (+0200) Subject: openvswitch: fix compilation when vxlan is a module X-Git-Tag: v4.9.8~3644^2~304 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2661371ace963280f34fe583d4a6697afecd87d5;p=platform%2Fkernel%2Flinux-rpi3.git openvswitch: fix compilation when vxlan is a module With CONFIG_VXLAN=m and CONFIG_OPENVSWITCH=y, there was the following compilation error: LD init/built-in.o net/built-in.o: In function `vxlan_tnl_create': .../net/openvswitch/vport-netdev.c:322: undefined reference to `vxlan_dev_create' make: *** [vmlinux] Error 1 CC: Thomas Graf Fixes: 614732eaa12d ("openvswitch: Use regular VXLAN net_device device") Signed-off-by: Nicolas Dichtel Acked-by: Thomas Graf Signed-off-by: David S. Miller --- diff --git a/net/openvswitch/Kconfig b/net/openvswitch/Kconfig index 1119f46..6ed1d2d 100644 --- a/net/openvswitch/Kconfig +++ b/net/openvswitch/Kconfig @@ -5,6 +5,7 @@ config OPENVSWITCH tristate "Open vSwitch" depends on INET + depends on VXLAN select LIBCRC32C select MPLS select NET_MPLS_GSO