aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/ipfw/dn_sched_qfq.c
diff options
context:
space:
mode:
authorLuigi Rizzo <luigi@FreeBSD.org>2012-01-27 13:26:25 +0000
committerLuigi Rizzo <luigi@FreeBSD.org>2012-01-27 13:26:25 +0000
commit7dec311e83ff7759915a792e2b2c4e4cc2d38e66 (patch)
treeabdb8ceb6bc7f1c98431834d16cd62ce42922cee /sys/netinet/ipfw/dn_sched_qfq.c
parenta12406889a64e0f0da0b98c5e63073a1fef7feb4 (diff)
downloadsrc-7dec311e83ff7759915a792e2b2c4e4cc2d38e66.tar.gz
src-7dec311e83ff7759915a792e2b2c4e4cc2d38e66.zip
a variable was erroneously declared as 32 bit instead of 64.
MFC after: 3 days
Notes
Notes: svn path=/head/; revision=230614
Diffstat (limited to 'sys/netinet/ipfw/dn_sched_qfq.c')
-rw-r--r--sys/netinet/ipfw/dn_sched_qfq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ipfw/dn_sched_qfq.c b/sys/netinet/ipfw/dn_sched_qfq.c
index c37b65e1ee26..be7fba31564e 100644
--- a/sys/netinet/ipfw/dn_sched_qfq.c
+++ b/sys/netinet/ipfw/dn_sched_qfq.c
@@ -608,7 +608,7 @@ static inline void
qfq_update_start(struct qfq_sched *q, struct qfq_class *cl)
{
unsigned long mask;
- uint32_t limit, roundedF;
+ uint64_t limit, roundedF;
int slot_shift = cl->grp->slot_shift;
roundedF = qfq_round_down(cl->F, slot_shift);