Re: drivers/char/random.c line 728 BUG

From: Andrew Morton
Date: Wed Sep 03 2008 - 19:13:53 EST


On Wed, 03 Sep 2008 17:51:37 -0500
Matt Mackall <mpm@xxxxxxxxxxx> wrote:

> Here's a more expansive version:
>
> ___Avoid checking lock-protected entropy_count when lock isn't held. This
> fixes a bug reported by and diagnosed by Aaron Straus.
>
> This fixes a regression introduced into 2.6.26 by
>
> commit adc782dae6c4c0f6fb679a48a544cfbcd79ae3dc
> Author: Matt Mackall <mpm@xxxxxxxxxxx>
> Date: Tue Apr 29 01:03:07 2008 -0700
>
> random: simplify and rename credit_entropy_store

That regression already got fixed, and the fix is now in mainline and
is queued for 2.6.26.x. So we would need a new rationale, please.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/