diff options
author | Jeff Barnhill <0xeffeff@gmail.com> | 2018-11-02 23:23:57 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-03 09:54:56 +0300 |
commit | 2384d02520ff2a916169b2fd85ea50e923ed56c2 (patch) | |
tree | bfad5bc2bff6bc70d8455db794c7b779cc81e9f1 /include/ras/ras_event.h | |
parent | 7b900ead6cc66b2ee873cb042dfba169aa68b56c (diff) | |
download | linux-2384d02520ff2a916169b2fd85ea50e923ed56c2.tar.xz |
net/ipv6: Add anycast addresses to a global hashtable
icmp6_send() function is expensive on systems with a large number of
interfaces. Every time it’s called, it has to verify that the source
address does not correspond to an existing anycast address by looping
through every device and every anycast address on the device. This can
result in significant delays for a CPU when there are a large number of
neighbors and ND timers are frequently timing out and calling
neigh_invalidate().
Add anycast addresses to a global hashtable to allow quick searching for
matching anycast addresses. This is based on inet6_addr_lst in addrconf.c.
Signed-off-by: Jeff Barnhill <0xeffeff@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/ras/ras_event.h')
0 files changed, 0 insertions, 0 deletions