Module Name: src Committed By: riastradh Date: Wed Apr 8 03:00:31 UTC 2015
Modified Files: src/sys/kern: kern_rndq.c Log Message: Simplify logic to disable HWRNGs that fail rngtest. - Mark them RND_FLAG_NO_COLLECT. - Skip samples from sources marked RND_FLAG_NO_COLLECT. - Don't ever call rnd_detach_source in softint context. - Remove bogus use of cpu_softintr_p. The call to rnd_detach_source in softint can't possibly have ever worked: if the owner of the source ever tried to detach it by calling rnd_detach_source again, it would LIST_REMOVE a removed element, which is broken. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/kern/kern_rndq.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.