1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-18 02:19:39 +00:00

if_vxlan(4): Add missing statistic for input packets

Event:		Aberdeen hackathon 2022
Reviewed by:	bryanv, kp
Differential Revision:	https://reviews.freebsd.org/D36841
This commit is contained in:
Zhenlei Huang 2022-10-05 12:38:30 +02:00 committed by Kristof Provost
parent fd6ecc184d
commit 1fc839f489

View File

@ -2894,6 +2894,7 @@ vxlan_input(struct vxlan_socket *vso, uint32_t vni, struct mbuf **m0,
m->m_pkthdr.csum_data = 0;
}
if_inc_counter(ifp, IFCOUNTER_IPACKETS, 1);
(*ifp->if_input)(ifp, m);
*m0 = NULL;
error = 0;