From: Eric Biggers <ebiggers@kernel.org>
To: Theodore Ts'o <tytso@mit.edu>, "Jason A . Donenfeld " <Jason@zx2c4.com>
Cc: linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org,
"Paul E . McKenney" <paulmck@kernel.org>
Subject: [PATCH v2 0/2] random: fix some data races
Date: Mon, 20 Dec 2021 16:41:55 -0600 [thread overview]
Message-ID: <20211220224157.111959-1-ebiggers@kernel.org> (raw)
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
drivers/char/random.c | 61 +++++++++++++++++++++++--------------------
1 file changed, 33 insertions(+), 28 deletions(-)
--
2.34.1
next reply other threads:[~2021-12-20 22:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-20 22:41 Eric Biggers [this message]
2021-12-20 22:41 ` [PATCH v2 1/2] random: fix data race on crng_node_pool Eric Biggers
2021-12-20 22:41 ` [PATCH v2 2/2] random: fix data race on crng init time Eric Biggers
2021-12-20 23:40 ` [PATCH v2 0/2] random: fix some data races Paul E. McKenney
2021-12-21 12:15 ` Jason A. Donenfeld
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211220224157.111959-1-ebiggers@kernel.org \
--to=ebiggers@kernel.org \
--cc=Jason@zx2c4.com \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paulmck@kernel.org \
--cc=tytso@mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox