diff options
author | glebius <glebius@FreeBSD.org> | 2014-09-19 10:39:58 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2014-09-19 10:39:58 +0000 |
commit | f2cafe032fb0458df9700d4be388254503d981a8 (patch) | |
tree | ae7a412373b8b159264640a0e35e6f3eaac332a7 /sys/net/if_atmsubr.c | |
parent | cedd8768c45365d18dba14cb214c1bd79a7a3c57 (diff) | |
download | FreeBSD-src-f2cafe032fb0458df9700d4be388254503d981a8.zip FreeBSD-src-f2cafe032fb0458df9700d4be388254503d981a8.tar.gz |
Mechanically convert to if_inc_counter().
Diffstat (limited to 'sys/net/if_atmsubr.c')
-rw-r--r-- | sys/net/if_atmsubr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_atmsubr.c b/sys/net/if_atmsubr.c index 8bf8534..e1c4a67 100644 --- a/sys/net/if_atmsubr.c +++ b/sys/net/if_atmsubr.c @@ -252,7 +252,7 @@ atm_input(struct ifnet *ifp, struct atm_pseudohdr *ah, struct mbuf *m, #ifdef MAC mac_ifnet_create_mbuf(ifp, m); #endif - ifp->if_ibytes += m->m_pkthdr.len; + if_inc_counter(ifp, IFCOUNTER_IBYTES, m->m_pkthdr.len); if (ng_atm_input_p != NULL) { (*ng_atm_input_p)(ifp, &m, ah, rxhand); |