Re: [PATCH v2 0/2] random: fix some data races

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 20, 2021 at 04:41:55PM -0600, Eric Biggers wrote:
> This series fixes some data races in random.c.
> 
> Changed v1 => v2:
>    - Remove unneeded 'inline' keywords
>    - Use READ_ONCE() instead of smp_load_acquire()
>    - Updated commit message
>    - Added patch to fix data race on crng init time
> 
> Eric Biggers (2):
>   random: fix data race on crng_node_pool
>   random: fix data race on crng init time

>From a memory-ordering viewpoint:

Acked-by: Paul E. McKenney <paulmck@xxxxxxxxxx>

>  drivers/char/random.c | 61 +++++++++++++++++++++++--------------------
>  1 file changed, 33 insertions(+), 28 deletions(-)
> 
> -- 
> 2.34.1
> 



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux