ld: net/netfilter/core.c:830:undefined reference to `netfilter_lwtunnel_fini'

From: kernel test robot
Date: Thu Jun 20 2024 - 17:31:45 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 50736169ecc8387247fe6a00932852ce7b057083
commit: a2225e0250c5fa397dcebf6ce65a9f05a114e0cf netfilter: move the sysctl nf_hooks_lwtunnel into the netfilter core
date: 29 hours ago
config: x86_64-buildonly-randconfig-002-20240621 (https://download.01.org/0day-ci/archive/20240621/202406210520.6HmrUaA2-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Ubuntu 11.4.0-4ubuntu1) 11.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240621/202406210520.6HmrUaA2-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202406210520.6HmrUaA2-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

ld: vmlinux.o: in function `netfilter_init':
net/netfilter/core.c:819:(.init.text+0xd6428): undefined reference to `netfilter_lwtunnel_init'
>> ld: net/netfilter/core.c:830:(.init.text+0xd645d): undefined reference to `netfilter_lwtunnel_fini'

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki