This is a note to let you know that I've just added the patch titled
dmi: Feed DMI table to /dev/random driver
to the 3.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
dmi-feed-dmi-table-to-dev-random-driver.patch
and it can be found in the queue-3.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From d114a33387472555188f142ed8e98acdb8181c6d Mon Sep 17 00:00:00 2001
From: Tony Luck <[email protected]>
Date: Fri, 20 Jul 2012 13:15:20 -0700
Subject: dmi: Feed DMI table to /dev/random driver
From: Tony Luck <[email protected]>
commit d114a33387472555188f142ed8e98acdb8181c6d upstream.
Send the entire DMI (SMBIOS) table to the /dev/random driver to
help seed its pools.
Signed-off-by: Tony Luck <[email protected]>
Signed-off-by: Theodore Ts'o <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/firmware/dmi_scan.c | 3 +++
1 file changed, 3 insertions(+)
--- a/drivers/firmware/dmi_scan.c
+++ b/drivers/firmware/dmi_scan.c
@@ -6,6 +6,7 @@
#include <linux/dmi.h>
#include <linux/efi.h>
#include <linux/bootmem.h>
+#include <linux/random.h>
#include <asm/dmi.h>
/*
@@ -111,6 +112,8 @@ static int __init dmi_walk_early(void (*
dmi_table(buf, dmi_len, dmi_num, decode, NULL);
+ add_device_randomness(buf, dmi_len);
+
dmi_iounmap(buf, dmi_len);
return 0;
}
Patches currently in stable-queue which might be from [email protected] are
queue-3.4/random-add-comment-to-random_initialize.patch
queue-3.4/dmi-feed-dmi-table-to-dev-random-driver.patch
queue-3.4/redefine-atomic_init-and-atomic64_init-to-drop-the-casts.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html