]> git.baikalelectronics.ru Git - kernel.git/commit
openvswitch: fix compilation when vxlan is a module
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Thu, 23 Jul 2015 09:29:07 +0000 (11:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2015 03:56:55 +0000 (20:56 -0700)
commitbf7baf49931acc14a5bceb6bb100874a135838e4
tree5696ed717475ae2519ffb5818ac6ce396fb130d2
parent3d1c7582130e861c0a423c1fb65f75a7f973f372
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 <tgraf@suug.ch>
Fixes: 8f83206ada5e ("openvswitch: Use regular VXLAN net_device device")
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/Kconfig