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:
parent
fd6ecc184d
commit
1fc839f489
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user