]> git.baikalelectronics.ru Git - kernel.git/commit
net: fix building errors on powerpc when CONFIG_RETPOLINE is not set
authorBrian Vazquez <brianvv@google.com>
Thu, 4 Feb 2021 18:18:39 +0000 (18:18 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 5 Feb 2021 02:06:27 +0000 (18:06 -0800)
commitfecc87d0aa5602dc88513e79c9933bf22310fc54
treeaf6529c3a29d466ba506a6ef5bd448a2093f0002
parentf84d07e4a2d86c660ed5d169f4213fd0b0055ee4
net: fix building errors on powerpc when CONFIG_RETPOLINE is not set

This commit fixes the errores reported when building for powerpc:

 ERROR: modpost: "ip6_dst_check" [vmlinux] is a static EXPORT_SYMBOL
 ERROR: modpost: "ipv4_dst_check" [vmlinux] is a static EXPORT_SYMBOL
 ERROR: modpost: "ipv4_mtu" [vmlinux] is a static EXPORT_SYMBOL
 ERROR: modpost: "ip6_mtu" [vmlinux] is a static EXPORT_SYMBOL

Fixes: 8919a9f0301b ("net: use indirect call helpers for dst_mtu")
Fixes: ee2a6c39e748 ("net: indirect call helpers for ipv4/ipv6 dst_check functions")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Brian Vazquez <brianvv@google.com>
Link: https://lore.kernel.org/r/20210204181839.558951-2-brianvv@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/route.c
net/ipv6/route.c