Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33217
b: refs/heads/master
c: c4c0ce5
h: refs/heads/master
i:
  33215: d8ddba9
v: v3
  • Loading branch information
Ilpo Järvinen authored and David S. Miller committed Aug 5, 2006
1 parent 99cc2b9 commit 2dbe738
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 30a584d944fbd599d4a8f470f75bf7af1a15b466
refs/heads/master: c4c0ce5c57ef0ca47a4428a14de6b5c8cdf8de8a
2 changes: 1 addition & 1 deletion trunk/include/net/red.h
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ static inline unsigned long red_calc_qavg_from_idle_time(struct red_parms *p)
* Seems, it is the best solution to
* problem of too coarse exponent tabulation.
*/
us_idle = (p->qavg * us_idle) >> p->Scell_log;
us_idle = (p->qavg * (u64)us_idle) >> p->Scell_log;

if (us_idle < (p->qavg >> 1))
return p->qavg - us_idle;
Expand Down

0 comments on commit 2dbe738

Please sign in to comment.