mpls: Fix the openvswitch select of NET_MPLS_GSO
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 7 Mar 2015 22:24:23 +0000 (16:24 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 Mar 2015 23:30:06 +0000 (19:30 -0400)
Fix the OPENVSWITCH Kconfig option and old Kconfigs by having
OPENVSWITCH select both NET_MPLS_GSO and MPLSO.

A Kbuild test robot reported that when NET_MPLS_GSO is selected by
OPENVSWITCH the generated .config is broken because MPLS is not
selected.

Cc: Simon Horman <horms@verge.net.au>
Fixes: cec9166ca4e mpls: Refactor how the mpls module is built
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Reviewed-by: Simon Horman <horms@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/Kconfig

index b7d818c594234bae63e2b603cc2ee3afe10fa1c2..ed6b0f8dd1bbdfa0876c3425b24c83cf4aa315a6 100644 (file)
@@ -6,6 +6,7 @@ config OPENVSWITCH
        tristate "Open vSwitch"
        depends on INET
        select LIBCRC32C
+       select MPLS
        select NET_MPLS_GSO
        ---help---
          Open vSwitch is a multilayer Ethernet switch targeted at virtualized