lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 6 Oct 2015 02:01:44 +0800
From:	kbuild test robot <lkp@...el.com>
To:	David Ahern <dsa@...ulusnetworks.com>
Cc:	kbuild-all@...org, netdev@...r.kernel.org, dsahern@...il.com,
	David Ahern <dsa@...ulusnetworks.com>
Subject: Re: [PATCH net-next] net: Lookup actual route when oif is VRF device

Hi David,

[auto build test ERROR on v4.3-rc4 -- if it's inappropriate base, please ignore]

config: x86_64-randconfig-x002-201540 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   In file included from include/uapi/linux/stddef.h:1:0,
                    from include/linux/stddef.h:4,
                    from include/uapi/linux/posix_types.h:4,
                    from include/uapi/linux/types.h:13,
                    from include/linux/types.h:5,
                    from include/linux/list.h:4,
                    from include/linux/module.h:9,
                    from net/ipv4/route.c:67:
   net/ipv4/route.c: In function 'inet_rtm_getroute':
>> net/ipv4/route.c:2483:6: error: implicit declaration of function 'netif_index_is_l3_master' [-Werror=implicit-function-declaration]
     if (netif_index_is_l3_master(net, fl4.flowi4_oif))
         ^
   include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
     if (__builtin_constant_p((cond)) ? !!(cond) :   \
                               ^
>> net/ipv4/route.c:2483:2: note: in expansion of macro 'if'
     if (netif_index_is_l3_master(net, fl4.flowi4_oif))
     ^
>> net/ipv4/route.c:2484:22: error: 'FLOWI_FLAG_L3MDEV_SRC' undeclared (first use in this function)
      fl4.flowi4_flags = FLOWI_FLAG_L3MDEV_SRC | FLOWI_FLAG_SKIP_NH_OIF;
                         ^
   net/ipv4/route.c:2484:22: note: each undeclared identifier is reported only once for each function it appears in
   cc1: some warnings being treated as errors

vim +/netif_index_is_l3_master +2483 net/ipv4/route.c

  2477		fl4.daddr = dst;
  2478		fl4.saddr = src;
  2479		fl4.flowi4_tos = rtm->rtm_tos;
  2480		fl4.flowi4_oif = tb[RTA_OIF] ? nla_get_u32(tb[RTA_OIF]) : 0;
  2481		fl4.flowi4_mark = mark;
  2482	
> 2483		if (netif_index_is_l3_master(net, fl4.flowi4_oif))
> 2484			fl4.flowi4_flags = FLOWI_FLAG_L3MDEV_SRC | FLOWI_FLAG_SKIP_NH_OIF;
  2485	
  2486		if (iif) {
  2487			struct net_device *dev;

---
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/octet-stream" (22104 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ