[nf-next:master 9/20] net/ipv6/netfilter.c:237:26: error: '__cookie_v6_init_sequence' undeclared here (not in a function); did you mean 'cookie_init_sequence'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git master
head:   dbb5281a1f84b2f93032d4864c211ce8a20811a7
commit: 3006a5224f15cf68edc4878799ac6d6089861518 [9/20] netfilter: synproxy: remove module dependency on IPv6 SYNPROXY
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 3006a5224f15cf68edc4878799ac6d6089861518
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=arm64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

Note: the nf-next/master HEAD dbb5281a1f84b2f93032d4864c211ce8a20811a7 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

>> net/ipv6/netfilter.c:237:26: error: '__cookie_v6_init_sequence' undeclared here (not in a function); did you mean 'cookie_init_sequence'?
     .cookie_init_sequence = __cookie_v6_init_sequence,
                             ^~~~~~~~~~~~~~~~~~~~~~~~~
                             cookie_init_sequence
>> net/ipv6/netfilter.c:238:21: error: '__cookie_v6_check' undeclared here (not in a function); did you mean '__cookie_v4_check'?
     .cookie_v6_check = __cookie_v6_check,
                        ^~~~~~~~~~~~~~~~~
                        __cookie_v4_check

vim +237 net/ipv6/netfilter.c

   230	
   231	static const struct nf_ipv6_ops ipv6ops = {
   232	#if IS_MODULE(CONFIG_IPV6)
   233		.chk_addr		= ipv6_chk_addr,
   234		.route_me_harder	= ip6_route_me_harder,
   235		.dev_get_saddr		= ipv6_dev_get_saddr,
   236		.route			= __nf_ip6_route,
 > 237		.cookie_init_sequence	= __cookie_v6_init_sequence,
 > 238		.cookie_v6_check	= __cookie_v6_check,
   239	#endif
   240		.route_input		= ip6_route_input,
   241		.fragment		= ip6_fragment,
   242		.reroute		= nf_ip6_reroute,
   243	#if IS_MODULE(CONFIG_IPV6) && IS_ENABLED(CONFIG_NF_DEFRAG_IPV6)
   244		.br_defrag		= nf_ct_frag6_gather,
   245	#endif
   246	#if IS_MODULE(CONFIG_IPV6)
   247		.br_fragment		= br_ip6_fragment,
   248	#endif
   249	};
   250	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux