diff --git a/[refs] b/[refs] index 3c6e85a5eac4..6298e2e2bd93 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 30a584d944fbd599d4a8f470f75bf7af1a15b466 +refs/heads/master: c4c0ce5c57ef0ca47a4428a14de6b5c8cdf8de8a diff --git a/trunk/include/net/red.h b/trunk/include/net/red.h index 5ccdbb3d4722..a4eb37946f2c 100644 --- a/trunk/include/net/red.h +++ b/trunk/include/net/red.h @@ -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;