Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jan 2012 13:26:25 +0000 (UTC)
From:      Luigi Rizzo <luigi@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r230614 - head/sys/netinet/ipfw
Message-ID:  <201201271326.q0RDQPwm041330@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: luigi
Date: Fri Jan 27 13:26:25 2012
New Revision: 230614
URL: http://svn.freebsd.org/changeset/base/230614

Log:
  a variable was erroneously declared as 32 bit instead of 64.
  
  MFC after:	3 days

Modified:
  head/sys/netinet/ipfw/dn_sched_qfq.c

Modified: head/sys/netinet/ipfw/dn_sched_qfq.c
==============================================================================
--- head/sys/netinet/ipfw/dn_sched_qfq.c	Fri Jan 27 13:26:19 2012	(r230613)
+++ head/sys/netinet/ipfw/dn_sched_qfq.c	Fri Jan 27 13:26:25 2012	(r230614)
@@ -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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201271326.q0RDQPwm041330>