Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F135578634
D20172.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
475 B
Referenced Files
None
Subscribers
None
D20172.diff
View Options
Index: sys/netinet/tcp_syncache.c
===================================================================
--- sys/netinet/tcp_syncache.c
+++ sys/netinet/tcp_syncache.c
@@ -1521,6 +1521,9 @@
sc->sc_todctx = todctx;
#endif
sc->sc_irs = th->th_seq;
+ KASSERT(is_random_seeded(), ("%s: syncache_init() already relies on "
+ "arc4random being available, so it must be here as well.",
+ __func__));
sc->sc_iss = arc4random();
sc->sc_flags = 0;
sc->sc_flowlabel = 0;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 12, 12:13 AM (31 m, 18 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25185698
Default Alt Text
D20172.diff (475 B)
Attached To
Mode
D20172: tcp_syncache: Mute a false positive random-may-block warning
Attached
Detach File
Event Timeline
Log In to Comment