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-next>] [day] [month] [year] [list]
Date:	Tue, 3 Nov 2015 08:11:11 +0100 (CET)
From:	Julia Lawall <julia.lawall@...6.fr>
To:	Roopa Prabhu <roopa@...ulusnetworks.com>
cc:	ebiederm@...ssion.com, rshearma@...cade.com, davem@...emloft.net,
	netdev@...r.kernel.org, davem@...emloft.net,
	netdev@...r.kernel.org, kbuild-all@...org
Subject: Re: [PATCH net-next] mpls: support for dead routes

Please check on what was intended.

julia

On Tue, 3 Nov 2015, kbuild test robot wrote:

> CC: kbuild-all@...org
> In-Reply-To: <1446498529-50275-1-git-send-email-roopa@...ulusnetworks.com>
> TO: Roopa Prabhu <roopa@...ulusnetworks.com>
> CC: ebiederm@...ssion.com, rshearma@...cade.com, davem@...emloft.net, netdev@...r.kernel.org
> CC: davem@...emloft.net, netdev@...r.kernel.org
> 
> Hi Roopa,
> 
> [auto build test WARNING on net-next/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base]
> 
> url:    https://github.com/0day-ci/linux/commits/Roopa-Prabhu/mpls-support-for-dead-routes/20151103-051211
> :::::: branch date: 88 minutes ago
> :::::: commit date: 88 minutes ago
> 
> >> net/mpls/af_mpls.c:702:6-22: duplicated argument to && or ||
> 
> git remote add linux-review https://github.com/0day-ci/linux
> git remote update linux-review
> git checkout 21fa92d07a7254a2042ded6647fc4b91332c6d0e
> vim +702 net/mpls/af_mpls.c
> 
> f8efb73c Roopa Prabhu    2015-10-23  686  	int nhs = 0;
> f8efb73c Roopa Prabhu    2015-10-23  687  	int err = 0;
> f8efb73c Roopa Prabhu    2015-10-23  688  
> f8efb73c Roopa Prabhu    2015-10-23  689  	change_nexthops(rt) {
> f8efb73c Roopa Prabhu    2015-10-23  690  		int attrlen;
> f8efb73c Roopa Prabhu    2015-10-23  691  
> f8efb73c Roopa Prabhu    2015-10-23  692  		nla_via = NULL;
> f8efb73c Roopa Prabhu    2015-10-23  693  		nla_newdst = NULL;
> f8efb73c Roopa Prabhu    2015-10-23  694  
> f8efb73c Roopa Prabhu    2015-10-23  695  		err = -EINVAL;
> f8efb73c Roopa Prabhu    2015-10-23  696  		if (!rtnh_ok(rtnh, remaining))
> f8efb73c Roopa Prabhu    2015-10-23  697  			goto errout;
> f8efb73c Roopa Prabhu    2015-10-23  698  
> 1c78efa8 Robert Shearman 2015-10-23  699  		/* neither weighted multipath nor any flags
> 1c78efa8 Robert Shearman 2015-10-23  700  		 * are supported
> 1c78efa8 Robert Shearman 2015-10-23  701  		 */
> 21fa92d0 Roopa Prabhu    2015-11-02 @702  		if (rtnh->rtnh_flags || rtnh->rtnh_flags)
> 1c78efa8 Robert Shearman 2015-10-23  703  			goto errout;
> 1c78efa8 Robert Shearman 2015-10-23  704  
> f8efb73c Roopa Prabhu    2015-10-23  705  		attrlen = rtnh_attrlen(rtnh);
> f8efb73c Roopa Prabhu    2015-10-23  706  		if (attrlen > 0) {
> f8efb73c Roopa Prabhu    2015-10-23  707  			struct nlattr *attrs = rtnh_attrs(rtnh);
> f8efb73c Roopa Prabhu    2015-10-23  708  
> f8efb73c Roopa Prabhu    2015-10-23  709  			nla_via = nla_find(attrs, attrlen, RTA_VIA);
> f8efb73c Roopa Prabhu    2015-10-23  710  			nla_newdst = nla_find(attrs, attrlen, RTA_NEWDST);
> 
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
> 
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ