aboutsummaryrefslogtreecommitdiff
path: root/sys/netpfil/ipfw/dn_aqm.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netpfil/ipfw/dn_aqm.h')
-rw-r--r--sys/netpfil/ipfw/dn_aqm.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/netpfil/ipfw/dn_aqm.h b/sys/netpfil/ipfw/dn_aqm.h
index a8a362a4bde9..8bbe9fe69e86 100644
--- a/sys/netpfil/ipfw/dn_aqm.h
+++ b/sys/netpfil/ipfw/dn_aqm.h
@@ -53,9 +53,6 @@ typedef int32_t aqm_stime_t;
/* Macro for variable bounding */
#define BOUND_VAR(x,l,h) ((x) > (h)? (h) : ((x) > (l)? (x) : (l)))
-/* sysctl variable to count number of dropped packets */
-extern unsigned long io_pkt_drop;
-
/*
* Structure for holding data and function pointers that together represent a
* AQM algorithm.
@@ -137,7 +134,7 @@ update_stats(struct dn_queue *q, int len, int drop)
if (drop) {
qni->drops++;
sni->drops++;
- io_pkt_drop++;
+ dn_cfg.io_pkt_drop++;
} else {
/*update queue stats */
qni->length += inc;