summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_cdce.c
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/dev/usb/if_cdce.c
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/dev/usb/if_cdce.c')
-rw-r--r--sys/dev/usb/if_cdce.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/usb/if_cdce.c b/sys/dev/usb/if_cdce.c
index eeace64dc53..d0b458588ae 100644
--- a/sys/dev/usb/if_cdce.c
+++ b/sys/dev/usb/if_cdce.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_cdce.c,v 1.64 2015/04/10 08:41:43 mpi Exp $ */
+/* $OpenBSD: if_cdce.c,v 1.65 2015/06/24 09:40:54 mpi Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000-2003 Bill Paul <wpaul@windriver.com>
@@ -767,7 +767,6 @@ cdce_rxeof(struct usbd_xfer *xfer, void *priv, usbd_status status)
goto done;
}
- ifp->if_ipackets++;
m->m_pkthdr.len = m->m_len = total_len;
ml_enqueue(&ml, m);