summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_fastopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/tcp_fastopen.c')
-rw-r--r--sys/netinet/tcp_fastopen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/tcp_fastopen.c b/sys/netinet/tcp_fastopen.c
index e2b3b8637f60..561f127c0765 100644
--- a/sys/netinet/tcp_fastopen.c
+++ b/sys/netinet/tcp_fastopen.c
@@ -209,6 +209,7 @@ tcp_fastopen_init(void)
rm_init(&V_tcp_fastopen_keylock, "tfo_keylock");
callout_init_rm(&V_tcp_fastopen_autokey_ctx.c,
&V_tcp_fastopen_keylock, 0);
+ V_tcp_fastopen_autokey_ctx.v = curvnet;
V_tcp_fastopen_keys.newest = TCP_FASTOPEN_MAX_KEYS - 1;
}