[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Line.LNX.4.64.0703281231200.3715@d.namei>
Date: Wed, 28 Mar 2007 12:31:56 -0400 (EDT)
From: James Morris <jmorris@...ei.org>
To: Eric Dumazet <dada1@...mosbay.com>
cc: David Miller <davem@...emloft.net>,
Andi Kleen <andi@...stfloor.org>,
netdev <netdev@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] NET : secure sequence number functions can use nsec
resolution instead of usec
On Wed, 28 Mar 2007, Eric Dumazet wrote:
> Hello David
>
> We could use the nanosec resolution for various functions defined in drivers/char/random.c
> (secure_tcpv6_sequence_number(), secure_tcp_sequence_number(), secure_dccp_sequence_number())
>
> I am not sure if it's a netdev related patch or core kernel, so I have CC Andrew.
>
> Thank you
>
> [PATCH] NET : random functions can use nsec resolution instead of usec
>
> In order to get more randomness for secure_tcpv6_sequence_number(), secure_tcp_sequence_number(), secure_dccp_sequence_number() functions, we can use the high resolution time services, providing nanosec resolution.
>
> I've also done two kmalloc()/kzalloc() conversions.
>
> Signed-off-by: Eric Dumazet <dada1@...mosbay.com>
Looks good to me.
Acked-by: James Morris <jmorris@...ei.org>
- James
--
James Morris
<jmorris@...ei.org>
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists