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/sbus | |
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/sbus')
-rw-r--r-- | sys/dev/sbus/be.c | 3 | ||||
-rw-r--r-- | sys/dev/sbus/qe.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/sbus/be.c b/sys/dev/sbus/be.c index 04fae5de770..a8b1b394f1e 100644 --- a/sys/dev/sbus/be.c +++ b/sys/dev/sbus/be.c @@ -1,4 +1,4 @@ -/* $OpenBSD: be.c,v 1.30 2015/05/13 10:42:46 jsg Exp $ */ +/* $OpenBSD: be.c,v 1.31 2015/06/24 09:40:54 mpi Exp $ */ /* $NetBSD: be.c,v 1.26 2001/03/20 15:39:20 pk Exp $ */ /*- @@ -549,7 +549,6 @@ be_read(struct be_softc *sc, int idx, int len) ifp->if_ierrors++; return; } - ifp->if_ipackets++; ml_enqueue(&ml, m); if_input(ifp, &ml); diff --git a/sys/dev/sbus/qe.c b/sys/dev/sbus/qe.c index 481e0749269..e8b5a387d75 100644 --- a/sys/dev/sbus/qe.c +++ b/sys/dev/sbus/qe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qe.c,v 1.28 2015/04/07 14:59:06 mpi Exp $ */ +/* $OpenBSD: qe.c,v 1.29 2015/06/24 09:40:54 mpi Exp $ */ /* $NetBSD: qe.c,v 1.16 2001/03/30 17:30:18 christos Exp $ */ /*- @@ -420,7 +420,6 @@ qe_read(sc, idx, len) ifp->if_ierrors++; return; } - ifp->if_ipackets++; ml_enqueue(&ml, m); if_input(ifp, &ml); |