On Thu, Dec 30, 2010 at 06:46:31PM -0600, Larry Finger wrote:
Confirmed. No crashes with the junk buffer in action.
I applied both patches (dump_stack() in hwrng_register() and junk[]
after priv data) to vanilla 2.6.37-rc7 and tested both: via-rng and my
via+rng2 as well as via-rng and b43-rng - no crashes. The (previously
also crashing) `cat rng_available' does survive as well:
$ cat /sys/devices/virtual/misc/hw_random/rng_available
via b43_phy0 via2
$
Attached 2 dmesg excerpts.
regards & g'nite
Mario
--
Tower: "Say fuelstate." Pilot: "Fuelstate."
Tower: "Say again." Pilot: "Again."
Tower: "Arghl, give me your fuel!" Pilot: "Sorry, need it by myself..."