diff options
author | Roopa Prabhu <roopa@cumulusnetworks.com> | 2015-07-30 13:34:54 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-31 15:21:30 -0700 |
commit | bf21563acc1de2391d21ac2141c3471aa4815c1a (patch) | |
tree | 4cf1e6e3ec1d76e730778ec0d8b2a7efbe6b9499 /drivers/hsi | |
parent | 343d60aada5a358ca186d6e9e353230379c426d8 (diff) | |
download | op-kernel-dev-bf21563acc1de2391d21ac2141c3471aa4815c1a.zip op-kernel-dev-bf21563acc1de2391d21ac2141c3471aa4815c1a.tar.gz |
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 'drivers/hsi')
0 files changed, 0 insertions, 0 deletions