ipv6: addrconf: factorize inet6_addr_hash() call
authorEric Dumazet <edumazet@google.com>
Mon, 23 Oct 2017 23:17:46 +0000 (16:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Oct 2017 08:54:19 +0000 (17:54 +0900)
commit752a92927e97e88096394dac3f10d12a58555254
tree7cd95fcbbd7b56d7e99f10070460e3782dd86e81
parent56fc709b7a9fe191173dc772a881e180458db517
ipv6: addrconf: factorize inet6_addr_hash() call

ipv6_add_addr_hash() can compute the hash value outside of
locked section and pass it to ipv6_chk_same_addr().

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