]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
inet6: Stop listening to NA messages
authorRoy Marples <roy@marples.name>
Thu, 29 Aug 2019 18:10:53 +0000 (19:10 +0100)
committerRoy Marples <roy@marples.name>
Thu, 29 Aug 2019 18:10:53 +0000 (19:10 +0100)
commit402aef841f4be948e5823fc09008df48e846c1d6
tree22277838634e5fdb3577a7d0b0d0c940c3c70f7d
parent4ffda995b68dee8bfa6781b4724da1750fb6c3c8
inet6: Stop listening to NA messages

This is very expensive, and we only listen for them for the
Router -> Host flag change. Linux and now NetBSD announce this
change via the netlink/routing socket so there is no longer a
need to listen for it.

RFC 4861 6.2.5 only says departing routers *SHOULD* send RA
with lifetime of zero and *MUST* send all subsequent NA messages
with the router flag unset, so dhcpcd *SHOULD* still work.

For the corner case where it doesn't, consider patching your
kernel.
src/ipv6nd.c