diff options
author | 2015-07-30 13:34:54 -0700 | |
---|---|---|
committer | 2015-07-31 15:21:30 -0700 | |
commit | bf21563acc1de2391d21ac2141c3471aa4815c1a (patch) | |
tree | 4cf1e6e3ec1d76e730778ec0d8b2a7efbe6b9499 /usr | |
parent | ipv6: change ipv6_stub_impl.ipv6_dst_lookup to take net argument (diff) | |
download | linux-dev-bf21563acc1de2391d21ac2141c3471aa4815c1a.tar.xz linux-dev-bf21563acc1de2391d21ac2141c3471aa4815c1a.zip |
af_mpls: fix undefined reference to ip6_route_output
Undefined reference to ip6_route_output and ip_route_output
was reported with CONFIG_INET=n and CONFIG_IPV6=n.
This patch uses ipv6_stub_impl.ipv6_dst_lookup instead of
ip6_route_output. And wraps affected code under
IS_ENABLED(CONFIG_INET) and IS_ENABLED(CONFIG_IPV6).
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Reported-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions