diff options
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/secure_seq.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/core/secure_seq.c b/net/core/secure_seq.c index e61a8bb7fce7..6a2f13cee86a 100644 --- a/net/core/secure_seq.c +++ b/net/core/secure_seq.c | |||
@@ -12,12 +12,10 @@ | |||
12 | 12 | ||
13 | static u32 net_secret[MD5_MESSAGE_BYTES / 4] ____cacheline_aligned; | 13 | static u32 net_secret[MD5_MESSAGE_BYTES / 4] ____cacheline_aligned; |
14 | 14 | ||
15 | static int __init net_secret_init(void) | 15 | void net_secret_init(void) |
16 | { | 16 | { |
17 | get_random_bytes(net_secret, sizeof(net_secret)); | 17 | get_random_bytes(net_secret, sizeof(net_secret)); |
18 | return 0; | ||
19 | } | 18 | } |
20 | late_initcall(net_secret_init); | ||
21 | 19 | ||
22 | #ifdef CONFIG_INET | 20 | #ifdef CONFIG_INET |
23 | static u32 seq_scale(u32 seq) | 21 | static u32 seq_scale(u32 seq) |