tree:   https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git 
for-net-next2
head:   7c3f8641178fb63c1e970a23e3743e89fc92be81
commit: d0cdeba2fc5ef7f97bdcf5d31266a25802372009 [35/40] netfilter: remove 
checksum_partial indirection in struct nf_afinfo
config: x86_64-randconfig-i0-201751 (attached as .config)
compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025
reproduce:
        git checkout d0cdeba2fc5ef7f97bdcf5d31266a25802372009
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   net/netfilter/utils.o: In function `nf_checksum':
   net/netfilter/utils.c:14: undefined reference to `nf_ip_checksum'
   net/netfilter/utils.o: In function `nf_checksum_partial':
>> net/netfilter/utils.c:33: undefined reference to `nf_ip_checksum_partial'

vim +33 net/netfilter/utils.c

     5  
     6  __sum16 nf_checksum(struct sk_buff *skb, unsigned int hook,
     7                      unsigned int dataoff, u_int8_t protocol,
     8                      unsigned short family)
     9  {
    10          __sum16 csum = 0;
    11  
    12          switch (family) {
    13          case AF_INET:
  > 14                  csum = nf_ip_checksum(skb, hook, dataoff, protocol);
    15                  break;
    16          case AF_INET6:
    17                  csum = nf_ip6_checksum(skb, hook, dataoff, protocol);
    18                  break;
    19          }
    20  
    21          return csum;
    22  }
    23  EXPORT_SYMBOL_GPL(nf_checksum);
    24  
    25  __sum16 nf_checksum_partial(struct sk_buff *skb, unsigned int hook,
    26                              unsigned int dataoff, unsigned int len,
    27                              u_int8_t protocol, unsigned short family)
    28  {
    29          __sum16 csum = 0;
    30  
    31          switch (family) {
    32          case AF_INET:
  > 33                  csum = nf_ip_checksum_partial(skb, hook, dataoff, len,

---
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