]> err.no Git - linux-2.6/commit
[NET]: random functions can use nsec resolution instead of usec
authorEric Dumazet <dada1@cosmosbay.com>
Wed, 28 Mar 2007 21:22:33 +0000 (14:22 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:28:25 +0000 (22:28 -0700)
commitf85958151900f9d30fa5ff941b0ce71eaa45a7de
treed42f056f6d9166db310ff4c398b6a73968e1ac35
parent4b19ca44cbafabfe0b7b98e2e24b21a96198f509
[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@cosmosbay.com>
Acked-by: James Morris <jmorris@namei.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/char/random.c