diff options
author | Eric Dumazet <edumazet@google.com> | 2013-04-29 05:58:52 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-29 15:14:02 -0400 |
commit | aebda156a570782a86fc4426842152237a19427d (patch) | |
tree | 013aecdd1e2223ff91faa08b604d4e4b91283252 /include/net/secure_seq.h | |
parent | 2d177be8e4a1f6ea7e3280b3a578a6b86472a39d (diff) | |
download | op-kernel-dev-aebda156a570782a86fc4426842152237a19427d.zip op-kernel-dev-aebda156a570782a86fc4426842152237a19427d.tar.gz |
net: defer net_secret[] initialization
Instead of feeding net_secret[] at boot time, defer the init
at the point first socket is created.
This permits some platforms to use better entropy sources than
the ones available at boot time.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/secure_seq.h')
-rw-r--r-- | include/net/secure_seq.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/secure_seq.h b/include/net/secure_seq.h index c2e542b..6ca975b 100644 --- a/include/net/secure_seq.h +++ b/include/net/secure_seq.h @@ -3,6 +3,7 @@ #include <linux/types.h> +extern void net_secret_init(void); extern __u32 secure_ip_id(__be32 daddr); extern __u32 secure_ipv6_id(const __be32 daddr[4]); extern u32 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport); |