]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitedf36b75eb8c4b384122ed8c0eb629309961c1b8
tree7cd95fcbbd7b56d7e99f10070460e3782dd86e81
parent73cf2fc608cba8d759d0ba589e758a104e4b7d0d
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