tree:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 
master
head:   90d4c5bb98bf66653333266917edf0e16ccd35f9
commit: 83ba4645152d1177c161750e1064e3a8e7cee19b [415/424] net: add helpers 
checking if socket can be bound to nonlocal address
config: i386-tinyconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
        git checkout 83ba4645152d1177c161750e1064e3a8e7cee19b
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   In file included from include/net/addrconf.h:54:0,
                    from lib/vsprintf.c:35:
   include/net/ipv6.h: In function 'ipv6_can_nonlocal_bind':
>> include/net/ipv6.h:772:14: error: 'struct net' has no member named 'ipv6'; 
>> did you mean 'ipv4'?
     return net->ipv6.sysctl.ip_nonlocal_bind ||
                 ^~~~
                 ipv4

vim +772 include/net/ipv6.h

   768  
   769  static inline bool ipv6_can_nonlocal_bind(struct net *net,
   770                                            struct inet_sock *inet)
   771  {
 > 772          return net->ipv6.sysctl.ip_nonlocal_bind ||
   773                  inet->freebind || inet->transparent;
   774  }
   775  

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