Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107156786
D31528.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
721 B
Referenced Files
None
Subscribers
None
D31528.diff
View Options
diff --git a/sys/netinet6/frag6.c b/sys/netinet6/frag6.c
--- a/sys/netinet6/frag6.c
+++ b/sys/netinet6/frag6.c
@@ -116,7 +116,7 @@
/* System wide (global) maximum and count of packets in reassembly queues. */
static int ip6_maxfrags;
-static volatile u_int frag6_nfrags = 0;
+static u_int __exclusive_cache_line frag6_nfrags;
/* Maximum and current packets in per-VNET reassembly queue. */
VNET_DEFINE_STATIC(int, ip6_maxfragpackets);
@@ -164,7 +164,7 @@
SYSCTL_DECL(_net_inet6_ip6);
SYSCTL_UINT(_net_inet6_ip6, OID_AUTO, frag6_nfrags,
- CTLFLAG_RD, __DEVOLATILE(u_int *, &frag6_nfrags), 0,
+ CTLFLAG_RD, &frag6_nfrags, 0,
"Global number of IPv6 fragments across all reassembly queues.");
static void
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 12, 12:01 AM (10 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15759085
Default Alt Text
D31528.diff (721 B)
Attached To
Mode
D31528: tidy up frag6_slowtimo
Attached
Detach File
Event Timeline
Log In to Comment