tree: https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git for-net-next4 head: 9b68071a2526dae4aeae359916ce31698a64599f commit: 6c23627f164a73658e5d7d5032025e459bd0a485 [37/40] netfilter: move route indirection to struct nf_ipv6_ops config: i386-randconfig-a1-201752 (attached as .config) compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4 reproduce: git checkout 6c23627f164a73658e5d7d5032025e459bd0a485 # save the attached .config to linux build tree make ARCH=i386
All errors (new ones prefixed by >>):
net/netfilter/utils.o: In function `nf_checksum':
net/netfilter/utils.c:15: undefined reference to `nf_ip_checksum'
net/netfilter/utils.o: In function `nf_checksum_partial':
net/netfilter/utils.c:37: undefined reference to `nf_ip_checksum_partial'
net/netfilter/utils.o: In function `nf_route':
>> net/netfilter/utils.c:60: undefined reference to `nf_ip_route'
vim +60 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 const struct nf_ipv6_ops *v6ops;
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 v6ops = rcu_dereference(nf_ipv6_ops);
19 if (v6ops)
20 csum = v6ops->checksum(skb, hook, dataoff,
protocol);
21 break;
22 }
23
24 return csum;
25 }
26 EXPORT_SYMBOL_GPL(nf_checksum);
27
28 __sum16 nf_checksum_partial(struct sk_buff *skb, unsigned int hook,
29 unsigned int dataoff, unsigned int len,
30 u_int8_t protocol, unsigned short family)
31 {
32 const struct nf_ipv6_ops *v6ops;
33 __sum16 csum = 0;
34
35 switch (family) {
36 case AF_INET:
37 csum = nf_ip_checksum_partial(skb, hook, dataoff, len,
38 protocol);
39 break;
40 case AF_INET6:
41 v6ops = rcu_dereference(nf_ipv6_ops);
42 if (v6ops)
43 csum = v6ops->checksum_partial(skb, hook,
dataoff, len,
44 protocol);
45 break;
46 }
47
48 return csum;
49 }
50 EXPORT_SYMBOL_GPL(nf_checksum_partial);
51
52 int nf_route(struct net *net, struct dst_entry **dst, struct flowi *fl,
53 bool strict, unsigned short family)
54 {
55 const struct nf_ipv6_ops *v6ops;
56 int ret = 0;
57
58 switch (family) {
59 case AF_INET:
> 60 ret = nf_ip_route(net, dst, fl, strict);
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip
