net: defer net_secret[] initialization
authorEric Dumazet <edumazet@google.com>
Mon, 29 Apr 2013 05:58:52 +0000 (05:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Apr 2013 19:14:02 +0000 (15:14 -0400)
commitaebda156a570782a86fc4426842152237a19427d
tree013aecdd1e2223ff91faa08b604d4e4b91283252
parent2d177be8e4a1f6ea7e3280b3a578a6b86472a39d
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>
include/net/secure_seq.h
net/core/secure_seq.c
net/ipv4/af_inet.c