summaryrefslogtreecommitdiffstats
path: root/sys/dev/cp
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2014-09-19 09:01:19 +0000
committerglebius <glebius@FreeBSD.org>2014-09-19 09:01:19 +0000
commit72f04611ecabbe285f19e3d4976b5a12fda23dc0 (patch)
tree2346dc2a57057cf36e1f65ce69915934b9e9b825 /sys/dev/cp
parent85e6d8134a2e10b38acdc198135c6a72083ac01c (diff)
downloadFreeBSD-src-72f04611ecabbe285f19e3d4976b5a12fda23dc0.zip
FreeBSD-src-72f04611ecabbe285f19e3d4976b5a12fda23dc0.tar.gz
Remove ifq_drops from struct ifqueue. Now queue drops are accounted in
struct ifnet if_oqdrops. Some netgraph modules used ifqueue w/o ifnet. Accounting of queue drops is simply removed from them. There were no API to read this statistic. Sponsored by: Netflix Sponsored by: Nginx, Inc.
Diffstat (limited to 'sys/dev/cp')
-rw-r--r--sys/dev/cp/if_cp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/cp/if_cp.c b/sys/dev/cp/if_cp.c
index 59f06a9..ca6aaf4 100644
--- a/sys/dev/cp/if_cp.c
+++ b/sys/dev/cp/if_cp.c
@@ -2141,7 +2141,6 @@ static int ng_cp_rcvdata (hook_p hook, item_p item)
CP_LOCK (bd);
IF_LOCK (q);
if (_IF_QFULL (q)) {
- _IF_DROP (q);
IF_UNLOCK (q);
CP_UNLOCK (bd);
splx (s);
OpenPOWER on IntegriCloud