diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-03-17 21:31:12 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-20 23:44:35 +0100 |
commit | 3a88a81d89c20be312b3b219b185bbdde24b8fb8 (patch) | |
tree | 2610b2b8b47deb4e4d5db0968af21911306442b3 /drivers/atm | |
parent | IPv6: convert addrconf hash list to RCU (diff) | |
download | linux-3a88a81d89c20be312b3b219b185bbdde24b8fb8.tar.xz linux-3a88a81d89c20be312b3b219b185bbdde24b8fb8.zip |
ipv6: user better hash for addrconf
The existing hash function has a couple of issues:
* it is hardwired to 16 for IN6_ADDR_HSIZE
* limited to 256 and callers using int
* use jhash2 rather than some old BSD algorithm
No need for random seed since this is local only (based on assigned
addresses) table.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions