Commit 2661371a authored by Nicolas Dichtel's avatar Nicolas Dichtel Committed by David S. Miller
Browse files

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: 614732ea

 ("openvswitch: Use regular VXLAN net_device device")
Signed-off-by: default avatarNicolas Dichtel <>
Acked-by: default avatarThomas Graf <>
Signed-off-by: default avatarDavid S. Miller <>
parent 88f64320
......@@ -5,6 +5,7 @@
tristate "Open vSwitch"
depends on INET
depends on VXLAN
select LIBCRC32C
select MPLS
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment