| To: | Stephen Hemminger <shemminger@xxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] net_random_init needs to get seed later in boot process |
| From: | "David S. Miller" <davem@xxxxxxxxxxxxx> |
| Date: | Mon, 30 Aug 2004 16:54:13 -0700 |
| Cc: | tom@xxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <20040830132030.32d071d0@dell_ss3.pdx.osdl.net> |
| References: | <64243634.20040830173251@huno.net> <20040830132030.32d071d0@dell_ss3.pdx.osdl.net> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Mon, 30 Aug 2004 13:20:30 -0700 Stephen Hemminger <shemminger@xxxxxxxx> 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. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: RFC/PATCH capture qdisc requeue event in stats, Stephen Hemminger |
|---|---|
| Next by Date: | Re: [PATCH] netem - distribution table fixes., David S. Miller |
| Previous by Thread: | [PATCH] net_random_init needs to get seed later in boot process, Stephen Hemminger |
| Next by Thread: | [PATCH] netem - distribution table fixes., Stephen Hemminger |
| Indexes: | [Date] [Thread] [Top] [All Lists] |