Re: [PATCH net v6] net/ipv6: Add anycast addresses to a global hashtable

2018-10-31 Thread Stephen Hemminger
On Thu, 1 Nov 2018 00:14:38 + Jeff Barnhill <0xeff...@gmail.com> wrote: > diff --git a/include/net/addrconf.h b/include/net/addrconf.h > index 14b789a123e7..799af1a037d1 100644 > --- a/include/net/addrconf.h > +++ b/include/net/addrconf.h > @@ -317,6 +317,8 @@ bool ipv6_chk_acast_addr(struct

[PATCH net v6] net/ipv6: Add anycast addresses to a global hashtable

2018-10-31 Thread Jeff Barnhill
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