[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150324.152103.1882579305066252346.davem@davemloft.net>
Date: Tue, 24 Mar 2015 15:21:03 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: ying.xue@...driver.com
Cc: marcelo.leitner@...il.com, jon.maloy@...csson.com,
Paul.Gortmaker@...driver.com, erik.hugne@...csson.com,
netdev@...r.kernel.org, tipc-discussion@...ts.sourceforge.net
Subject: Re: [PATCH net-next] tipc: fix compile error when IPV6=m and TIPC=y
From: Ying Xue <ying.xue@...driver.com>
Date: Tue, 24 Mar 2015 16:59:21 +0800
> When IPV6=m and TIPC=y, below error will appear during building kernel
> image:
>
> net/tipc/udp_media.c:196:
> undefined reference to `ip6_dst_lookup'
> make: *** [vmlinux] Error 1
>
> As ip6_dst_lookup() is implemented in IPV6 and IPV6 is compiled as
> module, ip6_dst_lookup() is not built-in core kernel image. As a
> result, compiler cannot find 'ip6_dst_lookup' reference while
> compiling TIPC code into core kernel image.
>
> But with the method introduced by commit 5f81bd2e5d80 ("ipv6: export a
> stub for IPv6 symbols used by vxlan"), we can avoid the compile error
> through "ipv6_stub" pointer to access ip6_dst_lookup().
>
> Fixes: d0f91938bede ("tipc: add ip/udp media type")
> Suggested-by: Marcelo Ricardo Leitner <marcelo.leitner@...il.com>
> Signed-off-by: Ying Xue <ying.xue@...driver.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists