From: Theodore Ts'o Date: Sun, 3 Nov 2013 21:40:53 +0000 (-0500) Subject: random: initialize the last_time field in struct timer_rand_state X-Git-Tag: v3.13-rc1~61^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=644008df899ec252e78db28c1b6d6b86779aada8;p=pandora-kernel.git random: initialize the last_time field in struct timer_rand_state Since we initialize jiffies to wrap five minutes before boot (see INITIAL_JIFFIES defined in include/linux/jiffies.h) it's important to make sure the last_time field is initialized to INITIAL_JIFFIES. Otherwise, the entropy estimator will overestimate the amount of entropy resulting from the first call to add_timer_randomness(), generally by about 8 bits. Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed