svn commit: r230614 - head/sys/netinet/ipfw

Luigi Rizzo luigi at FreeBSD.org
Fri Jan 27 13:26:27 UTC 2012


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);


More information about the svn-src-all mailing list