Skip to content

Commit 2661371

Browse files
NicolasDichteldavem330
authored andcommitted
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 <[email protected]> Fixes: 614732e ("openvswitch: Use regular VXLAN net_device device") Signed-off-by: Nicolas Dichtel <[email protected]> Acked-by: Thomas Graf <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 88f6432 commit 2661371

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/openvswitch/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
config OPENVSWITCH
66
tristate "Open vSwitch"
77
depends on INET
8+
depends on VXLAN
89
select LIBCRC32C
910
select MPLS
1011
select NET_MPLS_GSO

0 commit comments

Comments
 (0)