[nf-next:for-net-next3 36/40] net/netfilter/utils.c:54: undefined reference to `nf_ip6_saveroute'

[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 for-net-next3
head:   dfbb1c16489ca1b93e3f8aebc74d9229f1d87cc6
commit: e58c72119d0fa35020c144317509fe9494c441bd [36/40] netfilter: remove saveroute indirection in struct nf_afinfo
config: x86_64-randconfig-s2-12200210 (attached as .config)
compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
reproduce:
        git checkout e58c72119d0fa35020c144317509fe9494c441bd
        # 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:18: undefined reference to `nf_ip6_checksum'
   net/netfilter/utils.o: In function `nf_checksum_partial':
   net/netfilter/utils.c:38: undefined reference to `nf_ip6_checksum_partial'
   net/netfilter/utils.o: In function `nf_saveroute':
>> net/netfilter/utils.c:54: undefined reference to `nf_ip6_saveroute'

vim +54 net/netfilter/utils.c

     6	
     7	__sum16 nf_checksum(struct sk_buff *skb, unsigned int hook,
     8			    unsigned int dataoff, u_int8_t protocol,
     9			    unsigned short family)
    10	{
    11		__sum16 csum = 0;
    12	
    13		switch (family) {
    14		case AF_INET:
    15			csum = nf_ip_checksum(skb, hook, dataoff, protocol);
    16			break;
    17		case AF_INET6:
  > 18			csum = nf_ip6_checksum(skb, hook, dataoff, protocol);
    19			break;
    20		}
    21	
    22		return csum;
    23	}
    24	EXPORT_SYMBOL_GPL(nf_checksum);
    25	
    26	__sum16 nf_checksum_partial(struct sk_buff *skb, unsigned int hook,
    27				    unsigned int dataoff, unsigned int len,
    28				    u_int8_t protocol, unsigned short family)
    29	{
    30		__sum16 csum = 0;
    31	
    32		switch (family) {
    33		case AF_INET:
    34			csum = nf_ip_checksum_partial(skb, hook, dataoff, len,
    35						      protocol);
    36			break;
    37		case AF_INET6:
    38			csum = nf_ip6_checksum_partial(skb, hook, dataoff, len,
    39						       protocol);
    40			break;
    41		}
    42	
    43		return csum;
    44	}
    45	EXPORT_SYMBOL_GPL(nf_checksum_partial);
    46	
    47	void nf_saveroute(const struct sk_buff *skb, struct nf_queue_entry *entry)
    48	{
    49		switch (entry->state.pf) {
    50		case AF_INET:
    51			nf_ip_saveroute(skb, entry);
    52			break;
    53		case AF_INET6:
  > 54			nf_ip6_saveroute(skb, entry);

---
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]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux