diff options
author | Hannes Frederic Sowa <hannes@stressinduktion.org> | 2013-10-19 21:48:56 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-20 01:45:35 +0200 |
commit | b23a002fc6f0c19846ee0382f019429af54a27e9 (patch) | |
tree | 9cb494a707c4145a8a42f0cf6eb6853e487f06a5 /net/ipv4/udp.c | |
parent | net: introduce new macro net_get_random_once (diff) | |
download | linux-b23a002fc6f0c19846ee0382f019429af54a27e9.tar.xz linux-b23a002fc6f0c19846ee0382f019429af54a27e9.zip |
inet: split syncookie keys for ipv4 and ipv6 and initialize with net_get_random_once
This patch splits the secret key for syncookies for ipv4 and ipv6 and
initializes them with net_get_random_once. This change was the reason I
did this series. I think the initialization of the syncookie_secret is
way to early.
Cc: Florian Westphal <fw@strlen.de>
Cc: Eric Dumazet <edumazet@google.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/udp.c')
0 files changed, 0 insertions, 0 deletions