LVS
lvs-devel
Google
 
Web LinuxVirtualServer.org

Re: [PATCH 2/5] ipvs: Stop calling __dev_get_by_name() repeatedly when s

To: Quentin Armitage <quentin@xxxxxxxxxxxxxxx>
Subject: Re: [PATCH 2/5] ipvs: Stop calling __dev_get_by_name() repeatedly when starting sync daemon
Cc: kbuild-all@xxxxxx, Wensong Zhang <wensong@xxxxxxxxxxxx>, Simon Horman <horms@xxxxxxxxxxxx>, Julian Anastasov <ja@xxxxxx>, Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>, Patrick McHardy <kaber@xxxxxxxxx>, Jozsef Kadlecsik <kadlec@xxxxxxxxxxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxxxxx>, netdev@xxxxxxxxxxxxxxx, lvs-devel@xxxxxxxxxxxxxxx, netfilter-devel@xxxxxxxxxxxxxxx, coreteam@xxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, Quentin Armitage <quentin@xxxxxxxxxxxxxxx>
From: kbuild test robot <lkp@xxxxxxxxx>
Date: Tue, 14 Jun 2016 10:14:46 +0800
Hi,

[auto build test ERROR on ipvs-next/master]
[also build test ERROR on v4.7-rc3 next-20160609]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:    
https://github.com/0day-ci/linux/commits/Quentin-Armitage/ipvs-Enable-setting-IPv6-multicast-address-for-ipvs-sync-daemon-backup/20160614-095939
base:   https://git.kernel.org/pub/scm/linux/kernel/git/horms/ipvs-next.git 
master
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
        wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=sparc64 

Note: the 
linux-review/Quentin-Armitage/ipvs-Enable-setting-IPv6-multicast-address-for-ipvs-sync-daemon-backup/20160614-095939
 HEAD db86ecb72d6516577334b1b855efa8bf1988321e builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   In file included from net/netfilter/ipvs/ip_vs_sync.c:57:0:
   net/netfilter/ipvs/ip_vs_sync.c: In function 'make_send_sock':
>> net/netfilter/ipvs/ip_vs_sync.c:1497:10: error: 'struct netns_ipvs' has no 
>> member named 'mcast_ifn'
         ipvs->mcast_ifn, &addr);
             ^
   include/net/ip_vs.h:243:37: note: in definition of macro 'IP_VS_DBG'
       printk(KERN_DEBUG pr_fmt(msg), ##__VA_ARGS__); \
                                        ^
>> net/netfilter/ipvs/ip_vs_sync.c:1497:24: error: 'addr' undeclared (first use 
>> in this function)
         ipvs->mcast_ifn, &addr);
                           ^
   include/net/ip_vs.h:243:37: note: in definition of macro 'IP_VS_DBG'
       printk(KERN_DEBUG pr_fmt(msg), ##__VA_ARGS__); \
                                        ^
   net/netfilter/ipvs/ip_vs_sync.c:1497:24: note: each undeclared identifier is 
reported only once for each function it appears in
         ipvs->mcast_ifn, &addr);
                           ^
   include/net/ip_vs.h:243:37: note: in definition of macro 'IP_VS_DBG'
       printk(KERN_DEBUG pr_fmt(msg), ##__VA_ARGS__); \
                                        ^

vim +1497 net/netfilter/ipvs/ip_vs_sync.c

  1491          result = sysctl_sync_sock_size(ipvs);
  1492          if (result > 0)
  1493                  set_sock_size(sock->sk, 1, result);
  1494  
  1495          if (AF_INET == ipvs->mcfg.mcast_af) {
  1496                  IP_VS_DBG(7, "binding socket with (%s) %pI4\n",
> 1497                            ipvs->mcast_ifn, &addr);
  1498  
  1499                  result = bind_mcastif_addr(sock, dev);
  1500          }

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data

<Prev in Thread] Current Thread [Next in Thread>