Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1663133 > unrolled thread

[GIT PULL] random bug fixes for 4.12

Started byTheodore Ts'o <tytso@mit.edu>
First post2017-06-11 20:50 +0200
Last post2017-06-12 05:00 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [GIT PULL] random bug fixes for 4.12 Theodore Ts'o <tytso@mit.edu> - 2017-06-11 20:50 +0200
    Re: [GIT PULL] random bug fixes for 4.12 "Jason A. Donenfeld" <Jason@zx2c4.com> - 2017-06-12 04:30 +0200
      Re: [GIT PULL] random bug fixes for 4.12 "Jason A. Donenfeld" <Jason@zx2c4.com> - 2017-06-12 05:00 +0200

#1663133 — [GIT PULL] random bug fixes for 4.12

FromTheodore Ts'o <tytso@mit.edu>
Date2017-06-11 20:50 +0200
Subject[GIT PULL] random bug fixes for 4.12
Message-ID<tRg5X-8vh-7@gated-at.bofh.it>
The following changes since commit 9dfa7bba35ac08a63565d58c454dccb7e1bb0a08:

  fix race in drivers/char/random.c:get_reg() (2017-05-24 17:41:26 -0400)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tytso/random.git tags/random_for_linus_stable

for you to fetch changes up to b169c13de473a85b3c859bb36216a4cb5f00a54a:

  random: invalidate batched entropy after crng init (2017-06-07 19:45:37 -0400)

----------------------------------------------------------------
Improve performance by using a lockless update mechanism suggested by
Linus, and make sure we refresh per-CPU entropy returned get_random_*
as soon as the CRNG is initialized.

----------------------------------------------------------------
Jason A. Donenfeld (1):
      random: invalidate batched entropy after crng init

Theodore Ts'o (1):
      random: use lockless method of accessing and updating f->reg_idx

 drivers/char/random.c | 49 +++++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 43 insertions(+), 6 deletions(-)

[toc] | [next] | [standalone]


#1663193

From"Jason A. Donenfeld" <Jason@zx2c4.com>
Date2017-06-12 04:30 +0200
Message-ID<tRnh7-4Ei-1@gated-at.bofh.it>
In reply to#1663133
Hi Ted,

Did you forget this discussion [1][2][3], where we talked about how
you accidentally pulled v4 instead of v5, and would replace that v4
patch [4] with the v5 one [5]?

Jason

[1] https://lkml.org/lkml/2017/6/8/1046
[2] https://lkml.org/lkml/2017/6/8/1173
[3] https://lkml.org/lkml/2017/6/8/1173
[4] http://www.openwall.com/lists/kernel-hardening/2017/06/06/50
[5] https://patchwork.kernel.org/patch/9773235/

[toc] | [prev] | [next] | [standalone]


#1663199

From"Jason A. Donenfeld" <Jason@zx2c4.com>
Date2017-06-12 05:00 +0200
Message-ID<tRnK9-4Ot-5@gated-at.bofh.it>
In reply to#1663193
Since it looks like Linus already pulled, here's the diff-commit I
made from before, that you can submit on top:

https://lkml.org/lkml/2017/6/8/408

It should row "Cc: stable@vger.kernel.org" if it's not going to be
rebased into the existing commit there.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web