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]
Message-ID: <201510291946.jwFKT9p2%fengguang.wu@intel.com>
Date:	Thu, 29 Oct 2015 19:57:56 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Dan Streetman <dan.streetman@...onical.com>
Cc:	kbuild-all@...org, Steffen Klassert <steffen.klassert@...unet.com>,
	Herbert Xu <herbert@...dor.apana.org.au>,
	"David S. Miller" <davem@...emloft.net>,
	Alexey Kuznetsov <kuznet@....inr.ac.ru>,
	James Morris <jmorris@...ei.org>,
	Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>,
	Patrick McHardy <kaber@...sh.net>,
	Hannes Frederic Sowa <hannes@...essinduktion.org>,
	netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
	Dan Streetman <dan.streetman@...onical.com>,
	Dan Streetman <ddstreet@...e.org>
Subject: Re: [PATCHv2] xfrm: dst_entries_init() per-net dst_ops

Hi Dan,

[auto build test WARNING on ipsec/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/Dan-Streetman/xfrm-dst_entries_init-per-net-dst_ops/20151029-193245
config: x86_64-randconfig-x019-201543 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   net/xfrm/xfrm_policy.c: In function 'xfrm_policy_register_afinfo':
>> net/xfrm/xfrm_policy.c:2810:14: warning: unused variable 'net' [-Wunused-variable]
     struct net *net;
                 ^

vim +/net +2810 net/xfrm/xfrm_policy.c

ebb762f27 Steffen Klassert 2011-11-23  2794  static unsigned int xfrm_mtu(const struct dst_entry *dst)
d33e45533 David S. Miller  2010-12-14  2795  {
618f9bc74 Steffen Klassert 2011-11-23  2796  	unsigned int mtu = dst_metric_raw(dst, RTAX_MTU);
618f9bc74 Steffen Klassert 2011-11-23  2797  
618f9bc74 Steffen Klassert 2011-11-23  2798  	return mtu ? : dst_mtu(dst->path);
d33e45533 David S. Miller  2010-12-14  2799  }
d33e45533 David S. Miller  2010-12-14  2800  
f894cbf84 David S. Miller  2012-07-02  2801  static struct neighbour *xfrm_neigh_lookup(const struct dst_entry *dst,
f894cbf84 David S. Miller  2012-07-02  2802  					   struct sk_buff *skb,
f894cbf84 David S. Miller  2012-07-02  2803  					   const void *daddr)
d3aaeb38c David S. Miller  2011-07-18  2804  {
f894cbf84 David S. Miller  2012-07-02  2805  	return dst->path->ops->neigh_lookup(dst, skb, daddr);
d3aaeb38c David S. Miller  2011-07-18  2806  }
d3aaeb38c David S. Miller  2011-07-18  2807  
^1da177e4 Linus Torvalds   2005-04-16  2808  int xfrm_policy_register_afinfo(struct xfrm_policy_afinfo *afinfo)
^1da177e4 Linus Torvalds   2005-04-16  2809  {
d7c7544c3 Alexey Dobriyan  2010-01-24 @2810  	struct net *net;
^1da177e4 Linus Torvalds   2005-04-16  2811  	int err = 0;
^1da177e4 Linus Torvalds   2005-04-16  2812  	if (unlikely(afinfo == NULL))
^1da177e4 Linus Torvalds   2005-04-16  2813  		return -EINVAL;
^1da177e4 Linus Torvalds   2005-04-16  2814  	if (unlikely(afinfo->family >= NPROTO))
^1da177e4 Linus Torvalds   2005-04-16  2815  		return -EAFNOSUPPORT;
ef8531b64 Eric Dumazet     2012-08-19  2816  	spin_lock(&xfrm_policy_afinfo_lock);
^1da177e4 Linus Torvalds   2005-04-16  2817  	if (unlikely(xfrm_policy_afinfo[afinfo->family] != NULL))
f31e8d4f7 Li RongQing      2015-04-23  2818  		err = -EEXIST;

:::::: The code at line 2810 was first introduced by commit
:::::: d7c7544c3d5f59033d1bf3236bc7b289f5f26b75 netns xfrm: deal with dst entries in netns

:::::: TO: Alexey Dobriyan <adobriyan@...il.com>
:::::: 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/octet-stream" (25550 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ