summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_kue.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2015-06-24 09:40:53 +0000
committermpi <mpi@openbsd.org>2015-06-24 09:40:53 +0000
commitdb4dc9aafbed936e879d4362ca141e998a6e925c (patch)
treedf98e73a3cab3c7738c665fd003541280cfc7446 /sys/dev/usb/if_kue.c
parentIntroduce Linux work queue APIs and use them. As a side-effect, this will (diff)
downloadwireguard-openbsd-db4dc9aafbed936e879d4362ca141e998a6e925c.tar.xz
wireguard-openbsd-db4dc9aafbed936e879d4362ca141e998a6e925c.zip
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_kue.c')
-rw-r--r--sys/dev/usb/if_kue.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/usb/if_kue.c b/sys/dev/usb/if_kue.c
index 0e1630eeee5..9881333159e 100644
--- a/sys/dev/usb/if_kue.c
+++ b/sys/dev/usb/if_kue.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_kue.c,v 1.79 2015/04/10 08:41:43 mpi Exp $ */
+/* $OpenBSD: if_kue.c,v 1.80 2015/06/24 09:40:54 mpi Exp $ */
/* $NetBSD: if_kue.c,v 1.50 2002/07/16 22:00:31 augustss Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -727,7 +727,6 @@ kue_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);