diff options
author | Eric Dumazet <edumazet@google.com> | 2013-09-24 06:19:57 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-28 15:19:40 -0700 |
commit | 9a3bab6b05383f1e4c3716b3615500c51285959e (patch) | |
tree | e701171f62c8b2dc17fc6d4ba506f8628e304085 /include/net/secure_seq.h | |
parent | 50624c934db18ab90aaea4908f60dd39aab4e6e5 (diff) |
net: net_secret should not depend on TCP
A host might need net_secret[] and never open a single socket.
Problem added in commit aebda156a570782
("net: defer net_secret[] initialization")
Based on prior patch from Hannes Frederic Sowa.
Reported-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Hannes Frederic Sowa <hannes@strressinduktion.org>
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, 0 insertions, 1 deletions
diff --git a/include/net/secure_seq.h b/include/net/secure_seq.h index 6ca975bebd37..c2e542b27a5a 100644 --- a/include/net/secure_seq.h +++ b/include/net/secure_seq.h @@ -3,7 +3,6 @@ #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); |