CVSROOT: /cvs Module name: src Changes by: st...@cvs.openbsd.org 2018/07/07 06:08:07
Modified files: sbin/slaacd : slaacd.c Log message: slaacd is not interested in v4-related route messages so set the address family on the two socket() calls to open the routing socket, so that only v6-related and af-unspecific messages are seen. One of the sockets is only used for sending not receiving messages; shutdown the receive side to avoid receiving messages as suggested by claudio@. slaacd is run by default (watching for interface changes to add the "autoconf" flag), so has to process route messages even where IPv6 autoconf isn't used - these changes reduce CPU use on machines processing large numbers of route updates (in particular full-table BGP routers). ok florian@ claudio@ benno@