diff options
author | 2015-06-24 09:40:53 +0000 | |
---|---|---|
committer | 2015-06-24 09:40:53 +0000 | |
commit | db4dc9aafbed936e879d4362ca141e998a6e925c (patch) | |
tree | df98e73a3cab3c7738c665fd003541280cfc7446 /sys/dev/usb/if_udav.c | |
parent | Introduce Linux work queue APIs and use them. As a side-effect, this will (diff) | |
download | wireguard-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_udav.c')
-rw-r--r-- | sys/dev/usb/if_udav.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/usb/if_udav.c b/sys/dev/usb/if_udav.c index b45214b0e55..715b94b360a 100644 --- a/sys/dev/usb/if_udav.c +++ b/sys/dev/usb/if_udav.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_udav.c,v 1.71 2015/06/19 20:39:34 uaa Exp $ */ +/* $OpenBSD: if_udav.c,v 1.72 2015/06/24 09:40:54 mpi Exp $ */ /* $NetBSD: if_udav.c,v 1.3 2004/04/23 17:25:25 itojun Exp $ */ /* $nabe: if_udav.c,v 1.3 2003/08/21 16:57:19 nabe Exp $ */ /* @@ -1104,7 +1104,6 @@ udav_rxeof(struct usbd_xfer *xfer, void *priv, usbd_status status) m = c->udav_mbuf; memcpy(mtod(m, char *), c->udav_buf + UDAV_RX_HDRLEN, total_len); - ifp->if_ipackets++; m->m_pkthdr.len = m->m_len = total_len; ml_enqueue(&ml, m); |