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: <20150803223158.40ae7d52@urahara>
Date:	Mon, 3 Aug 2015 22:31:58 -0700
From:	Stephen Hemminger <stephen@...workplumber.org>
To:	Richard Laing <richard.laing@...iedtelesis.co.nz>
Cc:	netdev@...r.kernel.org, jmorris@...ei.org
Subject: Re: [PATCH 1/1] net/ipv4: Enable flow-based ECMP

On Tue,  4 Aug 2015 13:28:47 +1200
Richard Laing <richard.laing@...iedtelesis.co.nz> wrote:

> diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h
> index 5fa643b..7db9f72 100644
> --- a/include/net/ip_fib.h
> +++ b/include/net/ip_fib.h
> @@ -117,6 +117,8 @@ struct fib_info {
>  #ifdef CONFIG_IP_ROUTE_MULTIPATH
>  	int			fib_power;
>  #endif
> +	/* Cache the number of live nexthops for flow based ECMP calculation. */
> +	int			live_nexthops;

unsigned or u16 ? rather than risking sign issues.
--
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