net: net_secret should not depend on TCP
authorEric Dumazet <edumazet@google.com>
Tue, 24 Sep 2013 13:19:57 +0000 (06:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 28 Sep 2013 22:19:40 +0000 (15:19 -0700)
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>

No differences found