summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@nicira.com>2014-11-13 22:21:30 -0800
committerDavid S. Miller <davem@davemloft.net>2014-11-14 01:24:27 -0500
commit8cd4313aa775537f724486d5b7503b4d46c9f012 (patch)
tree45b686041777be1ce858c2e13f95b311bcad9c08
parent076ce4482569ea1a2c27b4ca71a309adaf91d398 (diff)
downloadlinux-8cd4313aa775537f724486d5b7503b4d46c9f012.tar.bz2
openvswitch: Fix build failure.
Add dependency on INET to fix following build error. I have also fixed MPLS dependency. ERROR: "ip_route_output_flow" [net/openvswitch/openvswitch.ko] undefined! make[1]: *** [__modpost] Error 1 Reported-by: Jim Davis <jim.epost@gmail.com> Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/openvswitch/Kconfig6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/openvswitch/Kconfig b/net/openvswitch/Kconfig
index 454ce12efbbf..b7d818c59423 100644
--- a/net/openvswitch/Kconfig
+++ b/net/openvswitch/Kconfig
@@ -4,7 +4,9 @@
config OPENVSWITCH
tristate "Open vSwitch"
+ depends on INET
select LIBCRC32C
+ select NET_MPLS_GSO
---help---
Open vSwitch is a multilayer Ethernet switch targeted at virtualized
environments. In addition to supporting a variety of features
@@ -30,8 +32,6 @@ config OPENVSWITCH
config OPENVSWITCH_GRE
tristate "Open vSwitch GRE tunneling support"
- select NET_MPLS_GSO
- depends on INET
depends on OPENVSWITCH
depends on NET_IPGRE_DEMUX
default OPENVSWITCH
@@ -45,7 +45,6 @@ config OPENVSWITCH_GRE
config OPENVSWITCH_VXLAN
tristate "Open vSwitch VXLAN tunneling support"
- depends on INET
depends on OPENVSWITCH
depends on VXLAN
default OPENVSWITCH
@@ -58,7 +57,6 @@ config OPENVSWITCH_VXLAN
config OPENVSWITCH_GENEVE
tristate "Open vSwitch Geneve tunneling support"
- depends on INET
depends on OPENVSWITCH
depends on GENEVE
default OPENVSWITCH