CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2015/06/23 07:20:17
Modified files: sys/net : if_ethersubr.c sys/netinet : if_ether.c if_ether.h Log message: Pass a "struct ifnet *" instead of a "struct arpcom *" to arpresolve(). Most of the ARP layer already take an ifp pointer and this makes clear wich chunks of code are messing with ac_enaddr. Note that our Ethernet code assume that these pointer are interchangeable since the first element of the "struct arpcom" is a "struct ifnet".