summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2004-06-29 00:38:31 -0700
committerDavid S. Miller <davem@nuts.davemloft.net>2004-06-29 00:38:31 -0700
commit4b53b3b771cee1f7c1c47ff6ad345bf7ff4c5311 (patch)
tree22391a0d45d48c82d800ea0f81f39beaa3d30c76 /include
parent53a3707761ddcc7c79c675854c5d5c2e38a111ca (diff)
[PKT_SCHED]: Bad TDIFF_SAFE in csz.
This code in the csz scheduler, is just plain broken. The TDIFF_SAFE effectively expands to: unsigned long delay = now - q->t_c; if (delay > 0) { delay = 0; goto do_reset; } if (delay >> q->delta_log) So delay is always 0! I assume that what was originally intended is the to keep delay bounded to 1<<q->delta_log. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: David S. Miller <davem@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions