Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-26 Thread David Miller
From: roopa Date: Thu, 23 Jul 2015 06:44:13 -0700 > On 7/23/15, 12:09 AM, David Miller wrote: >> From: roopa >> Date: Wed, 22 Jul 2015 13:38:31 -0700 >> >>> I cant think of a way to fix the current problem with my patch... >> I guess it's not obvious that adding CONFIG_MPLS_IPV6 would solve >> t

Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-23 Thread roopa
On 7/23/15, 12:09 AM, David Miller wrote: From: roopa Date: Wed, 22 Jul 2015 13:38:31 -0700 I cant think of a way to fix the current problem with my patch... I guess it's not obvious that adding CONFIG_MPLS_IPV6 would solve the problem perfectly. I thought that was not an option because CONF

Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread David Miller
From: roopa Date: Wed, 22 Jul 2015 13:38:31 -0700 > I cant think of a way to fix the current problem with my patch... I guess it's not obvious that adding CONFIG_MPLS_IPV6 would solve the problem perfectly. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a mes

[PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread Roopa Prabhu
From: Roopa Prabhu seen with CONFIG_IPV6 disabled. Wrap the code around IS_BUILTIN(CONFIG_IPV6). Also fixes undefined reference to ip_route_output with CONFIG_INET=n Reported-by: kbuild test robot Reported-by: Thomas Graf Signed-off-by: Roopa Prabhu --- could not think of a better way. This u

Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread roopa
On 7/22/15, 1:17 PM, Thomas Graf wrote: On 07/22/15 at 01:04pm, David Miller wrote: From: Thomas Graf Date: Wed, 22 Jul 2015 21:57:06 +0200 On 07/22/15 at 12:30pm, roopa wrote: diff --git a/net/mpls/Kconfig b/net/mpls/Kconfig index 5c467ef..2b28615 100644 --- a/net/mpls/Kconfig +++ b/net/mpl

Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread roopa
On 7/22/15, 1:04 PM, David Miller wrote: From: Thomas Graf Date: Wed, 22 Jul 2015 21:57:06 +0200 On 07/22/15 at 12:30pm, roopa wrote: diff --git a/net/mpls/Kconfig b/net/mpls/Kconfig index 5c467ef..2b28615 100644 --- a/net/mpls/Kconfig +++ b/net/mpls/Kconfig @@ -24,6 +24,8 @@ config NET_MPLS_

Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread Thomas Graf
On 07/22/15 at 01:04pm, David Miller wrote: > From: Thomas Graf > Date: Wed, 22 Jul 2015 21:57:06 +0200 > > > On 07/22/15 at 12:30pm, roopa wrote: > >> diff --git a/net/mpls/Kconfig b/net/mpls/Kconfig > >> index 5c467ef..2b28615 100644 > >> --- a/net/mpls/Kconfig > >> +++ b/net/mpls/Kconfig > >>

Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread David Miller
From: Thomas Graf Date: Wed, 22 Jul 2015 21:57:06 +0200 > On 07/22/15 at 12:30pm, roopa wrote: >> diff --git a/net/mpls/Kconfig b/net/mpls/Kconfig >> index 5c467ef..2b28615 100644 >> --- a/net/mpls/Kconfig >> +++ b/net/mpls/Kconfig >> @@ -24,6 +24,8 @@ config NET_MPLS_GSO >> >> config MPLS_ROUT

Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread David Miller
From: roopa Date: Wed, 22 Jul 2015 12:30:19 -0700 > diff --git a/net/mpls/Kconfig b/net/mpls/Kconfig > index 5c467ef..2b28615 100644 > --- a/net/mpls/Kconfig > +++ b/net/mpls/Kconfig > @@ -24,6 +24,8 @@ config NET_MPLS_GSO > > config MPLS_ROUTING > tristate "MPLS: routing support" > +

Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread Thomas Graf
On 07/22/15 at 12:30pm, roopa wrote: > diff --git a/net/mpls/Kconfig b/net/mpls/Kconfig > index 5c467ef..2b28615 100644 > --- a/net/mpls/Kconfig > +++ b/net/mpls/Kconfig > @@ -24,6 +24,8 @@ config NET_MPLS_GSO > > config MPLS_ROUTING > tristate "MPLS: routing support" > + depends on

Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread roopa
On 7/22/15, 5:23 AM, Thomas Graf wrote: On 07/22/15 at 12:10am, Roopa Prabhu wrote: From: Roopa Prabhu seen with CONFIG_IPV6 disabled. Wrap the code around IS_ENABLED(CONFIG_IPV6) Reported-by: kbuild test robot Signed-off-by: Roopa Prabhu We need the same for CONFIG_INET=n in inet_fib_look

Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread roopa
On 7/22/15, 10:49 AM, David Miller wrote: From: Thomas Graf Date: Wed, 22 Jul 2015 14:23:09 +0200 On 07/22/15 at 12:10am, Roopa Prabhu wrote: From: Roopa Prabhu seen with CONFIG_IPV6 disabled. Wrap the code around IS_ENABLED(CONFIG_IPV6) Reported-by: kbuild test robot Signed-off-by: Roopa

Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread David Miller
From: Thomas Graf Date: Wed, 22 Jul 2015 14:23:09 +0200 > On 07/22/15 at 12:10am, Roopa Prabhu wrote: >> From: Roopa Prabhu >> >> seen with CONFIG_IPV6 disabled. Wrap the code >> around IS_ENABLED(CONFIG_IPV6) >> >> Reported-by: kbuild test robot >> Signed-off-by: Roopa Prabhu > > We need t

Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread Thomas Graf
On 07/22/15 at 12:10am, Roopa Prabhu wrote: > From: Roopa Prabhu > > seen with CONFIG_IPV6 disabled. Wrap the code > around IS_ENABLED(CONFIG_IPV6) > > Reported-by: kbuild test robot > Signed-off-by: Roopa Prabhu We need the same for CONFIG_INET=n in inet_fib_lookup_dev: /home/tgraf/dev/linu

[PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread Roopa Prabhu
From: Roopa Prabhu seen with CONFIG_IPV6 disabled. Wrap the code around IS_ENABLED(CONFIG_IPV6) Reported-by: kbuild test robot Signed-off-by: Roopa Prabhu --- net/mpls/af_mpls.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/net/mpls/af_mpls.c b/net/mpls/af_mpls.c index 49f1b0e