[lkml]   [2001]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: /dev/random entropy calculations broken?
On Oct 02, 2001  01:51 -0600, Andreas Dilger wrote:
> - if (r->entropy_count < nbytes*8) {
> + if (r->entropy_count < nbytes*8 && r->entropy_count < r->poolsize*32) {
Doh! I hate it when I do that (compile, test, think, edit, send patch
without the compile, test steps). Should be "poolinfo.poolwords".

Cheers, Andreas
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?" -- Dogbert

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:03    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean