diff options
author | Eric Dumazet <edumazet@google.com> | 2013-09-24 06:19:57 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-13 16:08:30 -0700 |
commit | bdf831a681dd237fcde669e07e5202daddfa0c65 (patch) | |
tree | 53757db6bc886734764c24f2cab134a6f0540674 /include | |
parent | 6ea2edb3b6cbe72d2f943e205c463f6cb8bafe56 (diff) | |
download | linux-stable-bdf831a681dd237fcde669e07e5202daddfa0c65.tar.gz linux-stable-bdf831a681dd237fcde669e07e5202daddfa0c65.tar.bz2 linux-stable-bdf831a681dd237fcde669e07e5202daddfa0c65.zip |
net: net_secret should not depend on TCP
[ Upstream commit 9a3bab6b05383f1e4c3716b3615500c51285959e ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-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); |