Skip to content
Commit 9a3bab6b authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

net: net_secret should not depend on TCP

A host might need net_secret[] and never open a single socket.

Problem added in commit aebda156


("net: defer net_secret[] initialization")

Based on prior patch from Hannes Frederic Sowa.

Reported-by: default avatarHannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Acked-by: default avatarHannes Frederic Sowa <hannes@strressinduktion.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 50624c93
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment