From: kbuild test robot <fengguang.wu@intel.com>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: kbuild-all@01.org, netfilter-devel@vger.kernel.org,
coreteam@netfilter.org
Subject: [nf-next:for-net-next3 35/40] net/netfilter/utils.c:37: undefined reference to `nf_ip6_checksum_partial'
Date: Wed, 20 Dec 2017 09:08:10 +0800 [thread overview]
Message-ID: <201712200900.QfUYDGEt%fengguang.wu@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2023 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git for-net-next3
head: dfbb1c16489ca1b93e3f8aebc74d9229f1d87cc6
commit: 1033afac404a403b3ae982702061e7808b80e597 [35/40] netfilter: remove checksum_partial 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 1033afac404a403b3ae982702061e7808b80e597
# 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:17: undefined reference to `nf_ip6_checksum'
net/netfilter/utils.o: In function `nf_checksum_partial':
>> net/netfilter/utils.c:37: undefined reference to `nf_ip6_checksum_partial'
vim +37 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,
34 protocol);
35 break;
36 case AF_INET6:
> 37 csum = nf_ip6_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 #2: .config.gz --]
[-- Type: application/gzip, Size: 31798 bytes --]
reply other threads:[~2017-12-20 1:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201712200900.QfUYDGEt%fengguang.wu@intel.com \
--to=fengguang.wu@intel.com \
--cc=coreteam@netfilter.org \
--cc=kbuild-all@01.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).