[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201611102032.jPqVnjYe%fengguang.wu@intel.com>
Date: Thu, 10 Nov 2016 20:32:36 +0800
From: kbuild test robot <lkp@...el.com>
To: David Lebrun <david.lebrun@...ouvain.be>
Cc: kbuild-all@...org, netdev@...r.kernel.org, lorenzo@...gle.com,
davem@...emloft.net, David Lebrun <david.lebrun@...ouvain.be>
Subject: Re: [PATCH net-next] ipv6: sr: fix IPv6 initialization failure
without lwtunnels
Hi David,
[auto build test ERROR on net-next/master]
url: https://github.com/0day-ci/linux/commits/David-Lebrun/ipv6-sr-fix-IPv6-initialization-failure-without-lwtunnels/20161110-175753
config: i386-randconfig-s0-201645 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
In file included from net/ipv6/seg6_iptunnel.c:24:0:
include/net/seg6.h: In function 'seg6_pernet':
>> include/net/seg6.h:52:12: error: 'struct net' has no member named 'ipv6'; did you mean 'ipv4'?
return net->ipv6.seg6_data;
^~
include/net/seg6.h:53:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
vim +52 include/net/seg6.h
1ababeba David Lebrun 2016-11-08 36 to[0], to[1], to[2], to[3],
1ababeba David Lebrun 2016-11-08 37 };
1ababeba David Lebrun 2016-11-08 38
1ababeba David Lebrun 2016-11-08 39 skb->csum = ~csum_partial((char *)diff, sizeof(diff), ~skb->csum);
1ababeba David Lebrun 2016-11-08 40 }
1ababeba David Lebrun 2016-11-08 41
915d7e5e David Lebrun 2016-11-08 42 struct seg6_pernet_data {
915d7e5e David Lebrun 2016-11-08 43 struct mutex lock;
915d7e5e David Lebrun 2016-11-08 44 struct in6_addr __rcu *tun_src;
bf355b8d David Lebrun 2016-11-08 45 #ifdef CONFIG_IPV6_SEG6_HMAC
bf355b8d David Lebrun 2016-11-08 46 struct rhashtable hmac_infos;
bf355b8d David Lebrun 2016-11-08 47 #endif
915d7e5e David Lebrun 2016-11-08 48 };
915d7e5e David Lebrun 2016-11-08 49
915d7e5e David Lebrun 2016-11-08 50 static inline struct seg6_pernet_data *seg6_pernet(struct net *net)
915d7e5e David Lebrun 2016-11-08 51 {
915d7e5e David Lebrun 2016-11-08 @52 return net->ipv6.seg6_data;
915d7e5e David Lebrun 2016-11-08 53 }
915d7e5e David Lebrun 2016-11-08 54
915d7e5e David Lebrun 2016-11-08 55 extern int seg6_init(void);
915d7e5e David Lebrun 2016-11-08 56 extern void seg6_exit(void);
6c8702c6 David Lebrun 2016-11-08 57 extern int seg6_iptunnel_init(void);
6c8702c6 David Lebrun 2016-11-08 58 extern void seg6_iptunnel_exit(void);
6c8702c6 David Lebrun 2016-11-08 59
6c8702c6 David Lebrun 2016-11-08 60 extern bool seg6_validate_srh(struct ipv6_sr_hdr *srh, int len);
:::::: The code at line 52 was first introduced by commit
:::::: 915d7e5e5930b4f01d0971d93b9b25ed17d221aa ipv6: sr: add code base for control plane support of SR-IPv6
:::::: TO: David Lebrun <david.lebrun@...ouvain.be>
:::::: CC: David S. Miller <davem@...emloft.net>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (21480 bytes)
Powered by blists - more mailing lists