On Tue, Jul 21, 2020 at 12:12 AM kernel test robot <lkp(a)intel.com> wrote:
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: ab8be66e724ecf4bffb2895c9c91bbd44fa687c7
commit: 08622869ed3f167db9b2250ab1bb055f55293401 [5953/9560] ip6_vti: support IP6IP6
tunnel processing with .cb_handler
config: x86_64-rhel-7.6-kselftests (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 9.3.0
reproduce (this is a W=1 build):
git checkout 08622869ed3f167db9b2250ab1bb055f55293401
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
ld: net/ipv6/ip6_vti.o: in function `vti6_rcv_tunnel':
>> net/ipv6/ip6_vti.c:1228: undefined reference to `xfrm6_tunnel_spi_lookup'
Segmentation fault
.btf.vmlinux.bin.o: file not recognized: file format not recognized
vim +1228 net/ipv6/ip6_vti.c
1220
1221 #if IS_ENABLED(CONFIG_INET6_XFRM_TUNNEL)
1222 static int vti6_rcv_tunnel(struct sk_buff *skb)
1223 {
1224 const xfrm_address_t *saddr;
1225 __be32 spi;
1226
1227 saddr = (const xfrm_address_t *)&ipv6_hdr(skb)->saddr;
> 1228 spi = xfrm6_tunnel_spi_lookup(dev_net(skb->dev), saddr);
1229
1230 return vti6_input_proto(skb, IPPROTO_IPV6, spi, 0);
1231 }
1232
already posted on ipsec-next:
[PATCH ipsec-next] ip6_vti: use IS_REACHABLE to avoid some compile errors
>
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
>
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org