CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2015/12/02 09:35:53
Modified files: sys/net : if.c route.c route.h sys/netinet : if_ether.c ip_icmp.c sys/netinet6 : icmp6.c in6_ifattach.c nd6.c Log message: When destroying an interface, we have to wait until all references are not used anymore. This has to be done before any interface fields become invalid. As the route delete request cannot call if_get() anymore, pass down the interface. Split rtrequest_delete() into a separate function that may take an existing inteface. OK mpi@