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)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 9 Aug 2012 23:24:43 +0000 (00:24 +0100)
commit4e28e08b4dbd6c38c9c9e2d1f171949520c708f7
treec8fbfadad5f42076ebe974937f950b2773f1abc2
parent369e589b542f8ef0d56a95350997819d1b2222fd
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: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/core/hub.c