ipv6: addrconf: add per netns perturbation in inet6_addr_hash()
authorEric Dumazet <edumazet@google.com>
Mon, 23 Oct 2017 23:17:47 +0000 (16:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Oct 2017 08:54:19 +0000 (17:54 +0900)
commit3f27fb23219e75343b094366f2358bff34300493
tree215db15d7fd88f9a089dbc012033077a6f13dc46
parent752a92927e97e88096394dac3f10d12a58555254
ipv6: addrconf: add per netns perturbation in inet6_addr_hash()

Bring IPv6 in par with IPv4 :

- Use net_hash_mix() to spread addresses a bit more.
- Use 256 slots hash table instead of 16

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/addrconf.h
net/ipv6/addrconf.c