CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2017/09/06 05:43:04
Modified files: sys/netinet : ip_divert.c sys/netinet6 : ip6_divert.c Log message: Replace the call to ifa_ifwithaddr() in divert6_output() with a route lookup to make it MP safe. Only set the mbuf header fields that are needed. Validate the name input. Also use the same variables in IPv4 and IPv6 functions and avoid unneccessary initialization. OK mpi@