]> git.hungrycats.org Git - linux/commit
[NET]: net_random_init needs to get seed later in boot process
authorStephen Hemminger <shemminger@osdl.org>
Mon, 30 Aug 2004 09:37:48 +0000 (02:37 -0700)
committerDavid S. Miller <davem@kernel.bkbits.net>
Mon, 30 Aug 2004 09:37:48 +0000 (02:37 -0700)
commit2d94030662cc9fa38ed6c1b735361167367eb988
tree2dea71c05bee4f3ea3e71691addde0ce1f655c8f
parentde50d4897adff8f1511792f6dd4a8f886cc56dd0
[NET]: net_random_init needs to get seed later in boot process

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.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/utils.c