usb: feed USB device information to the /dev/random driver
authorTheodore Ts'o <tytso@mit.edu>
Wed, 4 Jul 2012 15:22:20 +0000 (11:22 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Aug 2012 15:10:28 +0000 (08:10 -0700)
commit76b9be5d7feba335f0bfd4edf0386296cdaf57f2
tree1c8914625bf828db7df79a55378cd18945624c68
parent1d0eb350ee278cb257178a14c4c9d965d7d2835e
usb: feed USB device information to the /dev/random driver

commit b04b3156a20d395a7faa8eed98698d1e17a36000 upstream.

Send the USB device's serial, product, and manufacturer strings to the
/dev/random driver to help seed its pools.

Cc: Linus Torvalds <torvalds@linux-foundation.org>
Acked-by: Greg KH <greg@kroah.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hub.c