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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120718.112943.524170725976000575.davem@davemloft.net>
Date:	Wed, 18 Jul 2012 11:29:43 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	eric.dumazet@...il.com
Cc:	joe@...ches.com, netdev@...r.kernel.org, andrewmcgr@...il.com,
	dave.taht@...il.com, therbert@...gle.com
Subject: Re: [PATCH net-next v4] ipv6: add ipv6_addr_hash() helper

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

> From: Eric Dumazet <edumazet@...gle.com>
> 
> 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().
> 
> Use it in net/ipv6/addrconf.c, using hash_32() as well.
> 
> As a cleanup, use it in net/ipv4/tcp_metrics.c
> 
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Reported-by: Andrew McGregor <andrewmcgr@...il.com>

Applied, thanks.

> v4: net/ipv6/addrconf.c part, sorry again David

The more you test my routing cache removal patches, the
more you will be forgiven :-))))))
--
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