On 7/27/15, 9:20 PM, David Miller wrote:
From: Roopa Prabhu
Date: Mon, 27 Jul 2015 17:41:17 -0700
@@ -33,4 +33,11 @@ config MPLS_IPTUNNEL
---help---
mpls ip tunnel support.
+config MPLS_NEXTHOP_DEVLOOKUP
+ bool "MPLS: nexthop oif dev lookup"
+ depends on MPLS_R
From: Roopa Prabhu
Date: Mon, 27 Jul 2015 17:41:17 -0700
> @@ -33,4 +33,11 @@ config MPLS_IPTUNNEL
> ---help---
>mpls ip tunnel support.
>
> +config MPLS_NEXTHOP_DEVLOOKUP
> + bool "MPLS: nexthop oif dev lookup"
> + depends on MPLS_ROUTING && INET && (IPV6 || IPV6=n)
> +
From: Roopa Prabhu
This patch fixes undefined reference to ip6_route_output and
ip_route_output with CONFIG_INET=n and CONFIG_IPV6=n.
The patch adds new CONFIG_MPLS_NEXTHOP_DEVLOOKUP
to lookup nexthop device if user has not specified it
in RTA_OIF attribute. Make CONFIG_MPLS_NEXTHOP_DEVLOOKUP
de