Changeset View
Changeset View
Standalone View
Standalone View
sys/net/if_ethersubr.c
Context not available. | |||||
struct ether_header *eh; | struct ether_header *eh; | ||||
u_short etype; | u_short etype; | ||||
IFRSTAT_INC(m, ifrs_ether); | |||||
if ((ifp->if_flags & IFF_UP) == 0) { | if ((ifp->if_flags & IFF_UP) == 0) { | ||||
m_freem(m); | m_freem(m); | ||||
return; | return; | ||||
Context not available. | |||||
* so assert it is correct here. | * so assert it is correct here. | ||||
*/ | */ | ||||
KASSERT(m->m_pkthdr.rcvif == ifp, ("%s: ifnet mismatch", __func__)); | KASSERT(m->m_pkthdr.rcvif == ifp, ("%s: ifnet mismatch", __func__)); | ||||
IFRSTAT_INC(m, ifrs_ifinput); | |||||
netisr_dispatch(NETISR_ETHER, m); | netisr_dispatch(NETISR_ETHER, m); | ||||
m = mn; | m = mn; | ||||
} | } | ||||
Context not available. |