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_txp.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_txp.c')
-rw-r--r-- | sys/dev/pci/if_txp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/if_txp.c b/sys/dev/pci/if_txp.c index 2ac49288666..6b2e568c71e 100644 --- a/sys/dev/pci/if_txp.c +++ b/sys/dev/pci/if_txp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_txp.c,v 1.115 2015/04/30 07:51:07 mpi Exp $ */ +/* $OpenBSD: if_txp.c,v 1.116 2015/06/24 09:40:54 mpi Exp $ */ /* * Copyright (c) 2001 @@ -1267,7 +1267,6 @@ txp_tick(void *vsc) ifp->if_collisions += ext[0].ext_2 + ext[0].ext_3 + ext[1].ext_2 + ext[1].ext_3; ifp->if_opackets += rsp->rsp_par2; - ifp->if_ipackets += ext[2].ext_3; out: if (rsp != NULL) |