On Fri, Jan 23, 2009 at 10:23:12AM +0100, Luigi Rizzo wrote:

> this is also in RELENG_7 but i am not sure whether this workaround
> has any drawback e.g., when curr_time passes a 32-bit boundary
> there seems to be an incorrect setting of q->numbytes

Workaround is fine in average. It may fail for:
1) _very_ idle flow (more than 2^32 ticks) while calculating q->avg
2) any flow once per 2^32 ticks
then q_time will be updated and things will be ok again.

-- 
Oleg.

================================================================
=== Oleg Bulyzhin -- OBUL-RIPN -- OBUL-RIPE -- o...@rinet.ru ===
================================================================

_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to