diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-06-24 09:40:56 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-06-24 09:40:56 +0000 |
commit | ee49ce9ce8936e7fbb0ed99da45133d8fc372ef2 (patch) | |
tree | 6e68c8d10c737f74759fbbb728e59ba96772fdb4 /sys/dev/pci/if_vge.c | |
parent | 6f311cd2637c672a39862ca5d613b5a66dc6060b (diff) |
Increment if_ipackets in if_input().
Note that pseudo-drivers not using if_input() are not affected by this
conversion.
ok mikeb@, kettenis@, claudio@, dlg@
Diffstat (limited to 'sys/dev/pci/if_vge.c')
-rw-r--r-- | sys/dev/pci/if_vge.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/if_vge.c b/sys/dev/pci/if_vge.c index 0db21fd640e..f5fab40cc94 100644 --- a/sys/dev/pci/if_vge.c +++ b/sys/dev/pci/if_vge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vge.c,v 1.62 2015/04/13 08:45:48 mpi Exp $ */ +/* $OpenBSD: if_vge.c,v 1.63 2015/06/24 09:40:54 mpi Exp $ */ /* $FreeBSD: if_vge.c,v 1.3 2004/09/11 22:13:25 wpaul Exp $ */ /* * Copyright (c) 2004 @@ -1119,8 +1119,6 @@ vge_rxeof(struct vge_softc *sc) bcopy(m->m_data, m->m_data + ETHER_ALIGN, total_len); m->m_data += ETHER_ALIGN; #endif - ifp->if_ipackets++; - /* Do RX checksumming */ /* Check IP header checksum */ |