Page MenuHomeFreeBSD

D46246.id141930.diff
No OneTemporary

D46246.id141930.diff

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

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)

Event Timeline