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)
commit9a3bab6b05383f1e4c3716b3615500c51285959e
treee701171f62c8b2dc17fc6d4ba506f8628e304085
parent50624c934db18ab90aaea4908f60dd39aab4e6e5
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>
include/net/secure_seq.h
net/core/secure_seq.c
net/ipv4/af_inet.c