Hi Fernando,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git master
head:   79ebb5bb4e38a58ca796dd242b855a4982e101d7
commit: 3006a5224f15cf68edc4878799ac6d6089861518 [9/13] netfilter: synproxy: 
remove module dependency on IPv6 SYNPROXY
config: x86_64-randconfig-x006-201924 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout 3006a5224f15cf68edc4878799ac6d6089861518
        # save the attached .config to linux build tree
        make ARCH=x86_64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <[email protected]>

All errors (new ones prefixed by >>):

   In file included from net/ipv6/af_inet6.c:45:0:
   include/linux/netfilter_ipv6.h: In function 'nf_ipv6_cookie_init_sequence':
>> include/linux/netfilter_ipv6.h:174:9: error: implicit declaration of 
>> function '__cookie_v6_init_sequence'; did you mean 'cookie_init_sequence'? 
>> [-Werror=implicit-function-declaration]
     return __cookie_v6_init_sequence(iph, th, mssp);
            ^~~~~~~~~~~~~~~~~~~~~~~~~
            cookie_init_sequence
   include/linux/netfilter_ipv6.h: In function 'nf_cookie_v6_check':
>> include/linux/netfilter_ipv6.h:189:9: error: implicit declaration of 
>> function '__cookie_v6_check'; did you mean '__cookie_v4_check'? 
>> [-Werror=implicit-function-declaration]
     return __cookie_v6_check(iph, th, cookie);
            ^~~~~~~~~~~~~~~~~
            __cookie_v4_check
   cc1: some warnings being treated as errors

vim +174 include/linux/netfilter_ipv6.h

   161  
   162  static inline u32 nf_ipv6_cookie_init_sequence(const struct ipv6hdr 
*iph,
   163                                                 const struct tcphdr *th,
   164                                                 u16 *mssp)
   165  {
   166  #if IS_MODULE(CONFIG_IPV6)
   167          const struct nf_ipv6_ops *v6_ops = nf_get_ipv6_ops();
   168  
   169          if (v6_ops)
   170                  return v6_ops->cookie_init_sequence(iph, th, mssp);
   171  
   172          return 0;
   173  #else
 > 174          return __cookie_v6_init_sequence(iph, th, mssp);
   175  #endif
   176  }
   177  
   178  static inline int nf_cookie_v6_check(const struct ipv6hdr *iph,
   179                                       const struct tcphdr *th, __u32 
cookie)
   180  {
   181  #if IS_MODULE(CONFIG_IPV6)
   182          const struct nf_ipv6_ops *v6_ops = nf_get_ipv6_ops();
   183  
   184          if (v6_ops)
   185                  return v6_ops->cookie_v6_check(iph, th, cookie);
   186  
   187          return 0;
   188  #else
 > 189          return __cookie_v6_check(iph, th, cookie);
   190  #endif
   191  }
   192  

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

Attachment: .config.gz
Description: application/gzip

Reply via email to