[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090519.231313.155860479.davem@davemloft.net>
Date: Tue, 19 May 2009 23:13:13 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dada1@...mosbay.com
Cc: nhorman@...driver.com, jarkao2@...il.com, lav@....ru,
shemminger@...ux-foundation.org, netdev@...r.kernel.org
Subject: Re: [PATCH] net: fix length computation in rt_check_expire()
From: Eric Dumazet <dada1@...mosbay.com>
Date: Wed, 20 May 2009 06:54:22 +0200
> I would like to split patches because we have two bugs indeed, and
> I prefer to get attention for both problems, I dont remember Neil acknowledged
> the length computation problem.
>
> First and small patch, candidate for net-2.6 and stable (for 2.6.29) :
>
> Thank you
>
> [PATCH] net: fix length computation in rt_check_expire()
>
> rt_check_expire() computes average and standard deviation of chain lengths,
> but not correclty reset length to 0 at beginning of each chain.
> This probably gives overflows for sum2 (and sum) on loaded machines instead
> of meaningful results.
>
> Signed-off-by: Eric Dumazet <dada1@...mosbay.com>
Yes I definitely agree this length initialization is a bug.
I'll integrate this fix soon, thanks Eric. You can send me the
other part of the bug fix relative to this if you like.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists