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:	Wed, 23 Sep 2015 14:55:21 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	pch@...bogen.com
Cc:	netdev@...r.kernel.org, kuznet@....inr.ac.ru, jmorris@...ei.org,
	yoshfuji@...ux-ipv6.org, kaber@...sh.net
Subject: Re: [PATCH v4 net-next 1/2] ipv4: L3 hash-based multipath

From: Peter Nørlund <pch@...bogen.com>
Date: Wed, 23 Sep 2015 21:49:36 +0200

> +static inline int fib_multipath_hash(__be32 saddr, __be32 daddr)
> +{
> +	return jhash_2words(saddr, daddr, fib_multipath_secret) >> 1;
> +}

Like Tom I'm curious why you do this shift here?
--
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