Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102622779
D46246.id141930.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
570 B
Referenced Files
None
Subscribers
None
D46246.id141930.diff
View Options
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -1465,6 +1465,7 @@
VNET_PCPUSTAT_ALLOC(tcpstat, M_WAITOK);
V_tcp_msl = TCPTV_MSL;
+ arc4rand(&V_ts_offset_secret, sizeof(V_ts_offset_secret), 0);
}
VNET_SYSINIT(tcp_vnet_init, SI_SUB_PROTO_DOMAIN, SI_ORDER_FOURTH,
tcp_vnet_init, NULL);
@@ -1502,7 +1503,6 @@
/* Initialize the TCP logging data. */
tcp_log_init();
#endif
- arc4rand(&V_ts_offset_secret, sizeof(V_ts_offset_secret), 0);
if (tcp_soreceive_stream) {
#ifdef INET
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 15, 11:04 PM (18 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14649219
Default Alt Text
D46246.id141930.diff (570 B)
Attached To
Mode
D46246: tcp: initialize V_ts_offset_secret for all vnets
Attached
Detach File
Event Timeline
Log In to Comment