Re: [PATCH v2] random32: avoid attempt to late reseed if in the middle of seeding

2014-03-27 Thread Daniel Borkmann
On 03/27/2014 07:01 AM, Sasha Levin wrote: Commit 4af712e8df ("random32: add prandom_reseed_late() and call when nonblocking pool becomes initialized") has added a late reseed stage that happens as soon as the nonblocking pool is marked as initialized. This fails in the case that the nonblocking

Re: [PATCH v2] random32: avoid attempt to late reseed if in the middle of seeding

2014-03-26 Thread Hannes Frederic Sowa
On Thu, Mar 27, 2014 at 02:01:35AM -0400, Sasha Levin wrote: > Commit 4af712e8df ("random32: add prandom_reseed_late() and call when > nonblocking pool becomes initialized") has added a late reseed stage > that happens as soon as the nonblocking pool is marked as initialized. > > This fails in the

[PATCH v2] random32: avoid attempt to late reseed if in the middle of seeding

2014-03-26 Thread Sasha Levin
Commit 4af712e8df ("random32: add prandom_reseed_late() and call when nonblocking pool becomes initialized") has added a late reseed stage that happens as soon as the nonblocking pool is marked as initialized. This fails in the case that the nonblocking pool gets initialized during __prandom_resee