aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/secure_seq.c
diff options
context:
space:
mode:
authorHannes Frederic Sowa <[email protected]>2013-10-19 19:48:58 +0000
committerDavid S. Miller <[email protected]>2013-10-19 23:45:35 +0000
commit222e83d2e0aecb6a5e8d42b1a8d51332a1eba960 (patch)
tree395011fb151ed3ce911333e1ab70602b2cfbc3e0 /net/core/secure_seq.c
parentinet: convert inet_ehash_secret and ipv6_hash_secret to net_get_random_once (diff)
downloadkernel-222e83d2e0aecb6a5e8d42b1a8d51332a1eba960.tar.gz
kernel-222e83d2e0aecb6a5e8d42b1a8d51332a1eba960.zip
tcp: switch tcp_fastopen key generation to net_get_random_once
Changed key initialization of tcp_fastopen cookies to net_get_random_once. If the user sets a custom key net_get_random_once must be called at least once to ensure we don't overwrite the user provided key when the first cookie is generated later on. Cc: Yuchung Cheng <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: "David S. Miller" <[email protected]> Signed-off-by: Hannes Frederic Sowa <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/core/secure_seq.c')
0 files changed, 0 insertions, 0 deletions