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-s1-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;
               ^~
   net/ipv6/seg6_iptunnel.c: In function 'seg6_output':
>> net/ipv6/seg6_iptunnel.c:289:3: error: implicit declaration of function 
>> 'dst_cache_set_ip6' [-Werror=implicit-function-declaration]
      dst_cache_set_ip6(&slwt->cache, dst, &fl6.saddr);
      ^~~~~~~~~~~~~~~~~
   In file included from net/ipv6/seg6_iptunnel.c:24:0:
   include/net/seg6.h: In function 'seg6_pernet':
   include/net/seg6.h:53:1: warning: control reaches end of non-void function 
[-Wreturn-type]
    }
    ^
   cc1: some warnings being treated as errors

vim +/dst_cache_set_ip6 +289 net/ipv6/seg6_iptunnel.c

6c8702c6 David Lebrun 2016-11-08  273           struct flowi6 fl6;
6c8702c6 David Lebrun 2016-11-08  274  
6c8702c6 David Lebrun 2016-11-08  275           fl6.daddr = hdr->daddr;
6c8702c6 David Lebrun 2016-11-08  276           fl6.saddr = hdr->saddr;
6c8702c6 David Lebrun 2016-11-08  277           fl6.flowlabel = 
ip6_flowinfo(hdr);
6c8702c6 David Lebrun 2016-11-08  278           fl6.flowi6_mark = skb->mark;
6c8702c6 David Lebrun 2016-11-08  279           fl6.flowi6_proto = hdr->nexthdr;
6c8702c6 David Lebrun 2016-11-08  280  
6c8702c6 David Lebrun 2016-11-08  281           dst = ip6_route_output(net, 
NULL, &fl6);
6c8702c6 David Lebrun 2016-11-08  282           if (dst->error) {
6c8702c6 David Lebrun 2016-11-08  283                   err = dst->error;
6c8702c6 David Lebrun 2016-11-08  284                   dst_release(dst);
6c8702c6 David Lebrun 2016-11-08  285                   goto drop;
6c8702c6 David Lebrun 2016-11-08  286           }
6c8702c6 David Lebrun 2016-11-08  287  
6c8702c6 David Lebrun 2016-11-08  288  #ifdef CONFIG_DST_CACHE
6c8702c6 David Lebrun 2016-11-08 @289           dst_cache_set_ip6(&slwt->cache, 
dst, &fl6.saddr);
6c8702c6 David Lebrun 2016-11-08  290  #endif
6c8702c6 David Lebrun 2016-11-08  291   }
6c8702c6 David Lebrun 2016-11-08  292  
6c8702c6 David Lebrun 2016-11-08  293   skb_dst_drop(skb);
6c8702c6 David Lebrun 2016-11-08  294   skb_dst_set(skb, dst);
6c8702c6 David Lebrun 2016-11-08  295  
6c8702c6 David Lebrun 2016-11-08  296   return dst_output(net, sk, skb);
6c8702c6 David Lebrun 2016-11-08  297  drop:

:::::: The code at line 289 was first introduced by commit
:::::: 6c8702c60b88651072460f3f4026c7dfe2521d12 ipv6: sr: add support for SRH 
encapsulation and injection with lwtunnels

:::::: TO: David Lebrun <david.leb...@uclouvain.be>
:::::: CC: David S. Miller <da...@davemloft.net>

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