netdev
[Top] [All Lists]

Re: [RFC] enhanced version of net_random()

To: Jean-Luc Cooke <jlcooke@xxxxxxxxxxxxxx>
Subject: Re: [RFC] enhanced version of net_random()
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Fri, 20 Aug 2004 11:47:10 -0700
Cc: shemminger@xxxxxxxx, alan@xxxxxxxxxxxxxxxxxxx, tytso@xxxxxxx, netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
In-reply-to: <20040820175952.GI5806@xxxxxxxxxxxxxx>
References: <20040812104835.3b179f5a@xxxxxxxxxxxxxxxxxxxxx> <20040820175952.GI5806@xxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Fri, 20 Aug 2004 13:59:52 -0400
Jean-Luc Cooke <jlcooke@xxxxxxxxxxxxxx> wrote:

> Is there a reason why get_random_bytes() is unsuitable?
> 
> Keeping the number of PRNGs in the kernel to a minimum should a goal we can
> all share.

Too expensive, this routine will get called potentially multiple times
per packet.

<Prev in Thread] Current Thread [Next in Thread>