Mechanically convert to if_inc_counter().

This commit is contained in:
Gleb Smirnoff 2014-09-27 20:43:01 +00:00
parent a917ed7723
commit 08c95c53d7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=272226

View File

@ -799,7 +799,7 @@ dwc_rxfinish_locked(struct dwc_softc *sc)
m->m_pkthdr.rcvif = ifp;
m->m_pkthdr.len = len;
m->m_len = len;
ifp->if_ipackets++;
if_inc_counter(ifp, IFCOUNTER_IPACKETS, 1);
DWC_UNLOCK(sc);
(*ifp->if_input)(ifp, m);