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, 18 Jul 2012 09:15:59 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	eric.dumazet@...il.com
Cc:	David.Laight@...LAB.COM, netdev@...r.kernel.org,
	andrewmcgr@...il.com, dave.taht@...il.com, therbert@...gle.com
Subject: Re: [PATCH net-next] ipv6: add ipv6_addr_hash() helper

From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 18 Jul 2012 16:06:06 +0200

> [PATCH net-next v2] ipv6: add ipv6_addr_hash() helper
> 
> Introduce ipv6_addr_hash() helper doing a XOR on all bits
> of an IPv6 address, with an optimized x86_64 version.
> 
> Use it in flow dissector, as suggested by Andrew McGregor,
> to reduce hash collision probabilities in fq_codel (and other
> users of flow dissector)
> 
> Use it in ip6_tunnel.c and use more bit shuffling, as suggested
> by David Laight, as existing hash was ignoring most of them.
> 
> Use it in sunrpc and use more bit shuffling, using hash_32().
> 
> As cleanup, use it in net/ipv4/tcp_metrics.c
> 
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Reported-by: Andrew McGregor <andrewmcgr@...il.com>

Looks good, applied.
--
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