]> Pileus Git - ~andy/linux/blobdiff - include/net/tcp.h
tcp: switch tcp_fastopen key generation to net_get_random_once
[~andy/linux] / include / net / tcp.h
index f30326f1c92b4d6235ae539c3848106c27a3f21c..b12e29a7659044623b51b729d524a5ecde7e6a8e 100644 (file)
@@ -1322,7 +1322,7 @@ extern struct tcp_fastopen_context __rcu *tcp_fastopen_ctx;
 int tcp_fastopen_reset_cipher(void *key, unsigned int len);
 void tcp_fastopen_cookie_gen(__be32 src, __be32 dst,
                             struct tcp_fastopen_cookie *foc);
-
+void tcp_fastopen_init_key_once(bool publish);
 #define TCP_FASTOPEN_KEY_LENGTH 16
 
 /* Fastopen key context */