]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Type of q_time (start of queue idle time) has changed: uint32_t -> uint64_t.
authorOleg Bulyzhin <oleg@FreeBSD.org>
Tue, 28 Oct 2008 14:14:57 +0000 (14:14 +0000)
committerOleg Bulyzhin <oleg@FreeBSD.org>
Tue, 28 Oct 2008 14:14:57 +0000 (14:14 +0000)
commit02d09f79015a15c21a46aa79d8ed99c5e6fbcac0
tree0f33f8203ebc8080e89e2d4731731897f4595fc7
parent15bc6b2bd8d8c56ad74e57675dde8501bc7f53e1
Type of q_time (start of queue idle time) has changed: uint32_t -> uint64_t.
This should fix q_time overflow, which happens after 2^32/(86400*hz) days of
uptime (~50days for hz = 1000).
q_time overflow cause following:
- traffic shaping may not work in 'fast' mode (not enabled by default).
- incorrect average queue length calculation in RED/GRED algorithm.

NB: due to ABI change this change is not applicable to stable.

PR: kern/128401
UPDATING
sys/netinet/ip_dummynet.h