Re: [PATCH] net_random_init needs to get seed later in boot process
From: "David S. Miller" <davem@davemloft.net>
Date: 2004-08-30 23:54:13
From: "David S. Miller" <davem@davemloft.net>
Date: 2004-08-30 23:54:13
On Mon, 30 Aug 2004 13:20:30 -0700 Stephen Hemminger [off-list ref] wrote:
Argh.. random_init isn't called until the device's are initialized. Rather than mess with random.c initialization, how about this; it resets the net_random state late in initialization when get_random_bytes is ready.
I hate this too. This is the same reason we have to play games in picking the initial hash random seed in the ipv4 routing cache, for example.