]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita1714a7db4a20d73870d5a892ae8562787e047fd
tree215db15d7fd88f9a089dbc012033077a6f13dc46
parentedf36b75eb8c4b384122ed8c0eb629309961c1b8
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