summaryrefslogtreecommitdiff
path: root/sys/arch/socppc
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-06-24 09:40:56 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-06-24 09:40:56 +0000
commitee49ce9ce8936e7fbb0ed99da45133d8fc372ef2 (patch)
tree6e68c8d10c737f74759fbbb728e59ba96772fdb4 /sys/arch/socppc
parent6f311cd2637c672a39862ca5d613b5a66dc6060b (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/arch/socppc')
-rw-r--r--sys/arch/socppc/dev/if_tsec.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/socppc/dev/if_tsec.c b/sys/arch/socppc/dev/if_tsec.c
index 95f91e3628c..0802d0b898f 100644
--- a/sys/arch/socppc/dev/if_tsec.c
+++ b/sys/arch/socppc/dev/if_tsec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_tsec.c,v 1.36 2015/04/08 10:49:25 mpi Exp $ */
+/* $OpenBSD: if_tsec.c,v 1.37 2015/06/24 09:40:53 mpi Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
@@ -882,8 +882,6 @@ tsec_rx_proc(struct tsec_softc *sc)
rxb->tb_m = NULL;
m->m_pkthdr.len = m->m_len = len;
- ifp->if_ipackets++;
-
ml_enqueue(&ml, m);
if_rxr_put(&sc->sc_rx_ring, 1);